Module: Invoicexpress

Extended by:
Configuration
Defined in:
lib/invoicexpress.rb,
lib/invoicexpress/error.rb,
lib/invoicexpress/client.rb,
lib/invoicexpress/models.rb,
lib/invoicexpress/request.rb,
lib/invoicexpress/version.rb,
lib/invoicexpress/connection.rb,
lib/invoicexpress/models/user.rb,
lib/invoicexpress/client/items.rb,
lib/invoicexpress/client/taxes.rb,
lib/invoicexpress/client/users.rb,
lib/invoicexpress/models/chart.rb,
lib/invoicexpress/client/charts.rb,
lib/invoicexpress/configuration.rb,
lib/invoicexpress/models/client.rb,
lib/invoicexpress/models/filter.rb,
lib/invoicexpress/authentication.rb,
lib/invoicexpress/client/clients.rb,
lib/invoicexpress/models/invoice.rb,
lib/invoicexpress/client/invoices.rb,
lib/invoicexpress/models/schedule.rb,
lib/invoicexpress/models/sequence.rb,
lib/invoicexpress/models/supplier.rb,
lib/invoicexpress/client/schedules.rb,
lib/invoicexpress/client/sequences.rb,
lib/invoicexpress/models/top_client.rb,
lib/invoicexpress/models/top_debtor.rb,
lib/invoicexpress/client/debit_notes.rb,
lib/invoicexpress/client/credit_notes.rb,
lib/invoicexpress/client/cash_invoices.rb,
lib/invoicexpress/models/purchase_order.rb,
lib/invoicexpress/client/purchase_orders.rb,
lib/invoicexpress/models/quarterly_result.rb,
lib/invoicexpress/client/simplified_invoices.rb

Defined Under Namespace

Modules: Authentication, Configuration, Connection, Models, Request Classes: BadAddress, Client, Error, InternalServerError, NotFound, Unauthorized, UnprocessableEntity

Constant Summary collapse

VERSION =
"0.0.0"

Constants included from Configuration

Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_API_ENDPOINT, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

api_endpoint=, configure, extended, faraday_config, options, reset

Class Method Details

.method_missing(method, *args, &block) ⇒ Object

Delegate to Octokit::Client.new



17
18
19
20
# File 'lib/invoicexpress.rb', line 17

def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

.new(options = {}) ⇒ Invoicexpress::Client

Alias for Invoicexpress::Client.new



12
13
14
# File 'lib/invoicexpress.rb', line 12

def new(options={})
  Invoicexpress::Client.new(options)
end

.respond_to?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/invoicexpress.rb', line 22

def respond_to?(method, include_private=false)
  new.respond_to?(method, include_private) || super(method, include_private)
end