Module: MuckCommerce
- Defined in:
- lib/muck-commerce/models/cart.rb,
lib/muck-commerce/config.rb,
lib/muck-commerce/engine.rb,
lib/muck-commerce/models/user.rb,
lib/muck-commerce/models/order.rb,
lib/muck-commerce/models/coupon.rb,
lib/muck-commerce/models/cart_item.rb,
lib/muck-commerce/share/exceptions.rb,
lib/muck-commerce/models/cart_coupon.rb,
lib/muck-commerce/models/coupon_type.rb,
lib/muck-commerce/share/cart_methods.rb,
lib/muck-commerce/models/order_coupon.rb,
lib/muck-commerce/models/subscription.rb,
lib/muck-commerce/share/order_methods.rb,
lib/muck-commerce/share/paypal_methods.rb,
lib/muck-commerce/share/currency_methods.rb,
lib/muck-commerce/share/discount_methods.rb,
lib/muck-commerce/mailers/commerce_mailer.rb,
lib/muck-commerce/models/order_transaction.rb,
lib/muck-commerce/models/subscription_plan.rb,
lib/muck-commerce/models/billing_information.rb,
lib/muck-commerce/models/subscription_record.rb,
lib/muck-commerce/controllers/billing_application.rb
Overview
include MuckCommerce::Controllers::MuckBillingApplication
Defined Under Namespace
Modules: CartMethods, Controllers, CurrencyMethods, DiscountMethods, Exceptions, Mailers, Models, OrderMethods, PaypalMethods Classes: Configuration, Engine
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
3 4 5 6 |
# File 'lib/muck-commerce/config.rb', line 3 def self.configuration # In case the user doesn't setup a configure block we can always return default settings: @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
8 9 10 11 |
# File 'lib/muck-commerce/config.rb', line 8 def self.configure self.configuration ||= Configuration.new yield(configuration) end |