Module: Xendify
- Defined in:
- lib/xendify.rb,
lib/xendify/base.rb,
lib/xendify/client.rb,
lib/xendify/errors.rb,
lib/xendify/version.rb,
lib/xendify/middleware.rb,
lib/xendify/api_resource.rb,
lib/xendify/errors/invoice.rb,
lib/xendify/resources/invoice.rb,
lib/xendify/errors/credit_card.rb,
lib/xendify/errors/disbursement.rb,
lib/xendify/errors/virtual_account.rb
Defined Under Namespace
Modules: Errors, Middleware Classes: APIResource, Base, Client, Configuration, Invoice, InvoiceModel
Constant Summary collapse
- BASE_URL =
'https://api.xendit.co'.freeze
- VERSION =
'0.1.0'- POST_PATH =
'/v2/invoices'.freeze
- GET_PATH =
'/v2/invoices'.freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
14 15 16 |
# File 'lib/xendify.rb', line 14 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
17 18 19 20 |
# File 'lib/xendify.rb', line 17 def self.configure self.configuration ||= Configuration.new yield(configuration) end |