class Ethon::Easy
def set_attributes(options)
- 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