Class: EasybillRestClient::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/easybill_rest_client/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



11
12
13
# File 'lib/easybill_rest_client/client.rb', line 11

def initialize(options = {})
  @options = options
end

Instance Method Details

#customersObject



15
16
17
# File 'lib/easybill_rest_client/client.rb', line 15

def customers
  @customers ||= CustomerApi.new(api_client)
end

#document_paymentsObject



27
28
29
# File 'lib/easybill_rest_client/client.rb', line 27

def document_payments
  @document_payments ||= DocumentPaymentApi.new(api_client)
end

#documentsObject



19
20
21
# File 'lib/easybill_rest_client/client.rb', line 19

def documents
  @documents ||= DocumentApi.new(api_client)
end

#post_boxesObject



23
24
25
# File 'lib/easybill_rest_client/client.rb', line 23

def post_boxes
  @post_boxes ||= PostBoxApi.new(api_client)
end