Class: Moip2::Resource::Invoice

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, response) ⇒ Invoice

Returns a new instance of Invoice.



7
8
9
10
# File 'lib/moip2/resource/invoice.rb', line 7

def initialize(client, response)
  super(response)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



5
6
7
# File 'lib/moip2/resource/invoice.rb', line 5

def client
  @client
end