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