Class: EasybillRestClient::Client
- Inherits:
-
Object
- Object
- EasybillRestClient::Client
- Defined in:
- lib/easybill_rest_client/client.rb
Instance Method Summary collapse
- #customers ⇒ Object
- #document_payments ⇒ Object
- #documents ⇒ Object
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
- #post_boxes ⇒ Object
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 = end |
Instance Method Details
#customers ⇒ Object
15 16 17 |
# File 'lib/easybill_rest_client/client.rb', line 15 def customers @customers ||= CustomerApi.new(api_client) end |
#document_payments ⇒ Object
27 28 29 |
# File 'lib/easybill_rest_client/client.rb', line 27 def document_payments @document_payments ||= DocumentPaymentApi.new(api_client) end |
#documents ⇒ Object
19 20 21 |
# File 'lib/easybill_rest_client/client.rb', line 19 def documents @documents ||= DocumentApi.new(api_client) end |
#post_boxes ⇒ Object
23 24 25 |
# File 'lib/easybill_rest_client/client.rb', line 23 def post_boxes @post_boxes ||= PostBoxApi.new(api_client) end |