Class: CentrumFaktur::API::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/centrum_faktur/api/base.rb

Direct Known Subclasses

Account, Comment, Customer, Estimate, Invoice, Payment, User

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/centrum_faktur/api/base.rb', line 7

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



5
6
7
# File 'lib/centrum_faktur/api/base.rb', line 5

def client
  @client
end