Module: RubyPaypalNvp

Defined in:
lib/ruby_paypal_nvp/fetcher/base.rb,
lib/ruby_paypal_nvp.rb,
lib/ruby_paypal_nvp/balance.rb,
lib/ruby_paypal_nvp/version.rb,
lib/ruby_paypal_nvp/statement.rb,
lib/ruby_paypal_nvp/model/item.rb,
lib/ruby_paypal_nvp/utils/errors.rb,
lib/ruby_paypal_nvp/configuration.rb,
lib/ruby_paypal_nvp/model/balance.rb,
lib/ruby_paypal_nvp/fetcher/balance.rb,
lib/ruby_paypal_nvp/model/statement.rb,
lib/ruby_paypal_nvp/fetcher/statement.rb

Overview

Base for fetching data from Paypal NVP API

See docs: https://developer.paypal.com/docs/classic/api/

Defined Under Namespace

Modules: Fetcher, Model Classes: Balance, ConfigNotSet, Configuration, Error, Statement

Constant Summary collapse

VERSION =
'0.1.1'.freeze

Class Method Summary collapse

Class Method Details

.configurationObject



21
22
23
# File 'lib/ruby_paypal_nvp.rb', line 21

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



29
30
31
# File 'lib/ruby_paypal_nvp.rb', line 29

def self.configure
  yield(configuration)
end

.resetObject



25
26
27
# File 'lib/ruby_paypal_nvp.rb', line 25

def self.reset
  @configuration = Configuration.new
end