Module: Simplepay
- Defined in:
- lib/simplepay.rb,
lib/simplepay/engine.rb,
lib/simplepay/errors.rb,
lib/simplepay/service.rb,
lib/simplepay/support.rb,
lib/simplepay/version.rb,
lib/simplepay/constants.rb,
lib/simplepay/signature.rb,
lib/simplepay/validator.rb,
lib/simplepay/support/epoch.rb,
lib/simplepay/support/field.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/services/marketplace.rb,
lib/simplepay/services/subscription.rb,
lib/simplepay/support/simple_amount.rb,
lib/simplepay/support/billing_frequency.rb,
lib/simplepay/services/marketplace_policy.rb,
lib/simplepay/support/subscription_period.rb,
app/helpers/simplepay/rails/simplepay_helper.rb
Defined Under Namespace
Modules: Boolean, Currency, Interval, Rails, ResponseStatusCode, Services, Support, Validator
Classes: Engine, Error, InvalidOptions, ParseError, RequiredFieldMissing, Service, Signature
Constant Summary
collapse
- VERSION =
'0.4.2'
- Intervals =
[Interval::Day, Interval::Week, Interval::Month, Interval::Year]
- Currencies =
[Currency::USD]
- @@aws_access_key_id =
''
- @@aws_secret_access_key =
''
- @@use_sandbox =
true
Class Method Summary
collapse
Class Method Details
.setup {|_self| ... } ⇒ Object
29
30
31
|
# File 'lib/simplepay.rb', line 29
def self.setup
yield self
end
|
.use_sandbox? ⇒ Boolean
25
26
27
|
# File 'lib/simplepay.rb', line 25
def self.use_sandbox?
@@use_sandbox
end
|