Class: Gateway::Requests::Client
- Inherits:
-
CommonRequest
- Object
- CommonRequest
- Gateway::Requests::Client
- Defined in:
- lib/gateway/requests/client.rb
Instance Attribute Summary collapse
-
#avatar ⇒ Object
Returns the value of attribute avatar.
-
#key ⇒ Object
Returns the value of attribute key.
-
#nickname ⇒ Object
Returns the value of attribute nickname.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Client
constructor
A new instance of Client.
Methods inherited from CommonRequest
Constructor Details
#initialize(attributes) ⇒ Client
Returns a new instance of Client.
6 7 8 9 10 |
# File 'lib/gateway/requests/client.rb', line 6 def initialize(attributes) attributes.each do |name, value| send("#{name}=", value) if respond_to? "#{name}=" end end |
Instance Attribute Details
#avatar ⇒ Object
Returns the value of attribute avatar.
4 5 6 |
# File 'lib/gateway/requests/client.rb', line 4 def avatar @avatar end |
#key ⇒ Object
Returns the value of attribute key.
4 5 6 |
# File 'lib/gateway/requests/client.rb', line 4 def key @key end |
#nickname ⇒ Object
Returns the value of attribute nickname.
4 5 6 |
# File 'lib/gateway/requests/client.rb', line 4 def nickname @nickname end |