Class: Forge::Configuration::EcommerceConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/forge/lib/forge/config/ecommerce.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEcommerceConfiguration

Returns a new instance of EcommerceConfiguration.



42
43
44
45
46
47
48
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 42

def initialize
  @payments = :hosted
  @shippers           = {}
  @active_merchant    = {}
  @paypal_production  = {}
  @paypal_sandbox     = {}
end

Instance Attribute Details

#active_merchantObject

Returns the value of attribute active_merchant.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def active_merchant
  @active_merchant
end

#currencyObject

Returns the value of attribute currency.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def currency
  @currency
end

#email_receiptObject

Returns the value of attribute email_receipt.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def email_receipt
  @email_receipt
end

#flat_rate_shippingObject

Returns the value of attribute flat_rate_shipping.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def flat_rate_shipping
  @flat_rate_shipping
end

#paymentsObject

Returns the value of attribute payments.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def payments
  @payments
end

#paypal_productionObject

Returns the value of attribute paypal_production.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def paypal_production
  @paypal_production
end

#paypal_sandboxObject

Returns the value of attribute paypal_sandbox.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def paypal_sandbox
  @paypal_sandbox
end

#shippersObject

Returns the value of attribute shippers.



38
39
40
# File 'lib/forge/lib/forge/config/ecommerce.rb', line 38

def shippers
  @shippers
end