Module: Comable
- Defined in:
- lib/comable/deprecator.rb,
lib/comable_core.rb,
lib/comable/deprecator.rb,
app/models/comable/user.rb,
lib/comable/core/engine.rb,
app/models/comable/image.rb,
app/models/comable/order.rb,
app/models/comable/stock.rb,
app/models/comable/store.rb,
app/models/comable/ability.rb,
app/models/comable/address.rb,
app/models/comable/payment.rb,
app/models/comable/product.rb,
app/models/comable/tracker.rb,
app/models/comable/category.rb,
app/models/comable/shipment.rb,
lib/comable/payment_provider.rb,
app/models/comable/order_item.rb,
lib/comable/core/configuration.rb,
app/models/comable/order/scopes.rb,
app/mailers/comable/order_mailer.rb,
app/models/comable/stock/csvable.rb,
app/models/comable/payment_method.rb,
lib/comable/payment_provider/base.rb,
app/models/comable/order/callbacks.rb,
app/models/comable/product/csvable.rb,
app/models/comable/shipment_method.rb,
app/helpers/comable/products_helper.rb,
app/models/comable/order/morrisable.rb,
app/models/comable/order/validations.rb,
app/models/concerns/comable/checkout.rb,
app/models/concerns/comable/sku_item.rb,
lib/comable/payment_provider/general.rb,
app/models/comable/order/associations.rb,
app/models/comable/order_item/csvable.rb,
app/helpers/comable/application_helper.rb,
app/models/concerns/comable/cart_owner.rb,
app/models/concerns/comable/importable.rb,
app/models/concerns/comable/role_owner.rb,
app/models/concerns/comable/sku_choice.rb,
app/models/concerns/comable/ransackable.rb,
app/models/concerns/comable/product/search.rb,
lib/generators/comable/install/install_generator.rb,
app/controllers/concerns/comable/permitted_attributes.rb
Overview
TODO: Deprecated itself!
Defined Under Namespace
Modules: ApplicationHelper, CartOwner, Checkout, Core, Importable, PaymentProvider, PermittedAttributes, ProductsHelper, Ransackable, RoleOwner, SkuChoice, SkuItem Classes: Ability, Address, Category, Deprecator, Image, InstallGenerator, Order, OrderItem, OrderMailer, Payment, PaymentMethod, Product, Shipment, ShipmentMethod, Stock, Store, Tracker, User
Class Method Summary collapse
Class Method Details
.setup {|Comable::Config| ... } ⇒ Object
24 25 26 |
# File 'lib/comable_core.rb', line 24 def setup(&_) yield Comable::Config end |
.translate(key, options = {}) ⇒ Object Also known as: t
28 29 30 |
# File 'lib/comable_core.rb', line 28 def translate(key, = {}) I18n.translate("comable.#{key}", ) end |