Class: Moip2::Resource::Customer
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Moip2::Resource::Customer
- Defined in:
- lib/moip2/resource/customer.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client, response) ⇒ Customer
constructor
A new instance of Customer.
Constructor Details
#initialize(client, response) ⇒ Customer
Returns a new instance of Customer.
8 9 10 11 |
# File 'lib/moip2/resource/customer.rb', line 8 def initialize(client, response) super(response) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/moip2/resource/customer.rb', line 6 def client @client end |