Module: ToNetMeApi::Resolvable
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#auth_key ⇒ String
Returns the auth_key from the previous resolver.
-
#initialize(name, options = {}) ⇒ Object
инициализация объекта и метода api.2net.me.
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/to_net_me_api/resolvable.rb', line 5 def name @name end |
Instance Method Details
#auth_key ⇒ String
Returns the auth_key from the previous resolver.
17 18 19 |
# File 'lib/to_net_me_api/resolvable.rb', line 17 def auth_key @previous_resolver.auth_key end |
#initialize(name, options = {}) ⇒ Object
инициализация объекта и метода api.2net.me
10 11 12 13 |
# File 'lib/to_net_me_api/resolvable.rb', line 10 def initialize(name, = {}) @name = name.to_s @previous_resolver = .delete(:resolver) end |