Module: Infusionsoft

Extended by:
Configuration
Defined in:
lib/infusionsoft.rb,
lib/infusionsoft/api.rb,
lib/infusionsoft/client.rb,
lib/infusionsoft/request.rb,
lib/infusionsoft/version.rb,
lib/infusionsoft/api_logger.rb,
lib/infusionsoft/connection.rb,
lib/infusionsoft/exceptions.rb,
lib/infusionsoft/client/data.rb,
lib/infusionsoft/client/file.rb,
lib/infusionsoft/client/email.rb,
lib/infusionsoft/client/search.rb,
lib/infusionsoft/client/ticket.rb,
lib/infusionsoft/configuration.rb,
lib/infusionsoft/client/contact.rb,
lib/infusionsoft/client/invoice.rb,
lib/infusionsoft/client/version.rb,
lib/infusionsoft/client/affiliate.rb,
lib/infusionsoft/client/credit_card.rb

Defined Under Namespace

Modules: Configuration, Connection, Request Classes: APILogger, Api, Client, DatabaseError, ExceptionHandler, FailedLoginAttemptError, FailedLoginAttemptPasswordExpiredError, InvalidConfigError, InvalidKeyError, InvalidParameterError, LoadingError, NoAccessError, NoFieldAccessError, NoFieldFoundError, NoFieldsError, NoTableAccessError, NoTableFoundError, RecordNotFoundError, UnexpectedError

Constant Summary collapse

VERSION =

The version of the gem

'1.0.0'.freeze

Constants included from Configuration

Configuration::VALID_OPTION_KEYS

Class Method Summary collapse

Methods included from Configuration

api_logger, configure, options, user_agent

Class Method Details

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

Delegate to ApiInfusionsoft::Client


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

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

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

Alias for Infusionsoft::Client.new


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

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

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


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

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