Module: Simplepay

Defined in:
lib/simplepay.rb,
lib/simplepay/errors.rb,
lib/simplepay/service.rb,
lib/simplepay/support.rb,
lib/simplepay/constants.rb,
lib/simplepay/support/epoch.rb,
lib/simplepay/support/field.rb,
lib/simplepay/authentication.rb,
lib/simplepay/support/amount.rb,
lib/simplepay/support/boolean.rb,
lib/simplepay/support/currency.rb,
lib/simplepay/support/interval.rb,
lib/simplepay/services/donation.rb,
lib/simplepay/services/standard.rb,
lib/simplepay/helpers/form_helper.rb,
lib/simplepay/helpers/rails_helper.rb,
lib/simplepay/services/marketplace.rb,
lib/simplepay/services/subscription.rb,
lib/simplepay/support/billing_frequency.rb,
lib/simplepay/helpers/notification_helper.rb,
lib/simplepay/services/marketplace_policy.rb,
lib/simplepay/support/subscription_period.rb

Defined Under Namespace

Modules: Authentication, Boolean, Currency, Helpers, Interval, ResponseStatusCode, Services, Support Classes: Error, InvalidOptions, ParseError, RequiredFieldMissing, Service

Constant Summary collapse

VERSION =
'0.2.2'
Intervals =
[Interval::Day, Interval::Week, Interval::Month, Interval::Year]
Currencies =
[Currency::USD]
@@use_sandbox =
true

Class Method Summary collapse

Class Method Details

.use_sandbox?Boolean

Returns:



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

def self.use_sandbox?
  @@use_sandbox
end