Top Level Namespace
Defined Under Namespace
Modules: CartHelper, Ecart, PayPalHelper Classes: Cart, CartController, CartItem, Item, PaypalExpressController
Instance Method Summary collapse
Instance Method Details
#paypal_options ⇒ Object
4 5 6 7 |
# File 'lib/generators/templates/paypal_express_checkout.rb', line 4 def @config = YAML::load(File.open("#{Rails.root}/config/paypal_config.yml")) @config[Rails.env].inject({}){|paypal_option,(key,value)| paypal_option[key.to_sym] = value; paypal_option} end |