class Ethon::Easy

def set_attributes(options)

Other tags:
    See: initialize -

Parameters:
  • options (Hash) -- The options.

Other tags:
    Example: Set options. -
def set_attributes(options)
  options.each_pair do |key, value|
    method("#{key}=").call(value) if respond_to?("#{key}=")
  end
end