Module: Cybersourcery

Defined in:
lib/cybersourcery.rb,
lib/cybersourcery/payment.rb,
lib/cybersourcery/profile.rb,
lib/cybersourcery/railtie.rb,
lib/cybersourcery/version.rb,
lib/cybersourcery/container.rb,
lib/cybersourcery/exceptions.rb,
lib/cybersourcery/cart_signer.rb,
lib/cybersourcery/configuration.rb,
lib/cybersourcery/payments_helper.rb,
lib/cybersourcery/signature_checker.rb,
lib/cybersourcery/cybersource_signer.rb,
lib/cybersourcery/reason_code_checker.rb,
lib/cybersourcery/cart_signature_checker.rb,
lib/cybersourcery/merchant_data_serializer.rb,
lib/cybersourcery/cybersource_params_normalizer.rb,
lib/cybersourcery/cybersource_signature_checker.rb,
lib/rails/generators/cybersourcery/config/config_generator.rb

Defined Under Namespace

Modules: Generators, PaymentsHelper Classes: CartSignatureChecker, CartSigner, Configuration, Container, CybersourceParamsNormalizer, CybersourceSignatureChecker, CybersourceSigner, CybersourceryError, MerchantDataSerializer, Payment, Profile, Railtie, ReasonCodeChecker, SignatureChecker

Constant Summary collapse

VERSION =
'0.0.7'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



35
36
37
# File 'lib/cybersourcery.rb', line 35

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

Class Method Details

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

Yields:



43
44
45
# File 'lib/cybersourcery.rb', line 43

def self.configure
  yield(configuration)
end

.resetObject



39
40
41
# File 'lib/cybersourcery.rb', line 39

def self.reset
  @configuration = Configuration.new
end