Module: BillysBilling
- Extended by:
- Config
- Defined in:
- lib/billys_billing/client.rb,
lib/billys_billing.rb,
lib/billys_billing/base.rb,
lib/billys_billing/line.rb,
lib/billys_billing/config.rb,
lib/billys_billing/person.rb,
lib/billys_billing/account.rb,
lib/billys_billing/contact.rb,
lib/billys_billing/invoice.rb,
lib/billys_billing/payment.rb,
lib/billys_billing/product.rb,
lib/billys_billing/request.rb,
lib/billys_billing/version.rb,
lib/billys_billing/vat_model.rb,
lib/billys_billing/attachment.rb,
lib/billys_billing/association.rb,
lib/billys_billing/organization.rb,
lib/billys_billing/daybook_transaction.rb
Overview
require ‘billys_billing/’
Defined Under Namespace
Modules: Association, Config, Request Classes: Account, Attachment, Base, Client, Contact, DaybookTransaction, Invoice, Line, Organization, Payment, Person, Product, VatModel, Version
Constant Summary
Constants included from Config
Config::DEFAULT_API_KEY, Config::DEFAULT_ENDPOINT, Config::VALID_ACTIONS, Config::VALID_OPTIONS_KEYS, Config::VALID_QUERIES
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to BillysBilling::Client.
-
.new(options = {}) ⇒ BillysBilling::Client
Alias for BillysBilling::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Config
configure, extended, options, reset
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to BillysBilling::Client
52 53 54 55 |
# File 'lib/billys_billing.rb', line 52 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ BillysBilling::Client
Alias for BillysBilling::Client.new
47 48 49 |
# File 'lib/billys_billing.rb', line 47 def new(={}) BillysBilling::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
57 58 59 |
# File 'lib/billys_billing.rb', line 57 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |