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

#initialize ⇒ EcommerceConfiguration

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_merchant ⇒ Object

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

#currency ⇒ Object

Returns the value of attribute currency.



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

def currency
  @currency
end

#email_receipt ⇒ Object

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_shipping ⇒ Object

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

#payments ⇒ Object

Returns the value of attribute payments.



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

def payments
  @payments
end

#paypal_production ⇒ Object

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_sandbox ⇒ Object

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

#shippers ⇒ Object

Returns the value of attribute shippers.



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

def shippers
  @shippers
end