Class: Moip2::Resource::Refund

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/moip2/resource/refund.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#clientObject (readonly)

Returns the value of attribute client.



4
5
6
# File 'lib/moip2/resource/refund.rb', line 4

def client
  @client
end

#external_idObject (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_apiObject (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