class EasybillRestClient::Client
Attributes
options[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/easybill_rest_client/client.rb, line 11 def initialize(options = {}) @options = options end
Public Instance Methods
customers()
click to toggle source
# File lib/easybill_rest_client/client.rb, line 15 def customers @customers ||= CustomerApi.new(api_client) end
document_payments()
click to toggle source
# File lib/easybill_rest_client/client.rb, line 27 def document_payments @document_payments ||= DocumentPaymentApi.new(api_client) end
documents()
click to toggle source
# File lib/easybill_rest_client/client.rb, line 19 def documents @documents ||= DocumentApi.new(api_client) end
post_boxes()
click to toggle source
# File lib/easybill_rest_client/client.rb, line 23 def post_boxes @post_boxes ||= PostBoxApi.new(api_client) end
Private Instance Methods
api_client()
click to toggle source
# File lib/easybill_rest_client/client.rb, line 35 def api_client @api_client ||= ApiClient.new(options) end