module Ethon::Easies::Http::Actionable

def setup(easy)

Parameters:
  • easy (easy) -- the easy to setup.

Other tags:
    Example: setup. -
def setup(easy)
  set_nothing(easy) if params.empty? && form.empty?
  set_params(easy) unless params.empty?
  set_form(easy) unless form.empty?
  easy.set_attributes(options)
end