Module: SolidusSubscriptions

Defined in:
lib/solidus_subscriptions/processor.rb,
lib/solidus_subscriptions/config.rb,
lib/solidus_subscriptions/engine.rb,
lib/solidus_subscriptions/ability.rb,
lib/solidus_subscriptions/version.rb,
app/models/solidus_subscriptions/checkout.rb,
app/models/solidus_subscriptions/interval.rb,
app/models/solidus_subscriptions/line_item.rb,
app/models/solidus_subscriptions/dispatcher.rb,
app/models/solidus_subscriptions/installment.rb,
app/models/solidus_subscriptions/subscription.rb,
app/models/solidus_subscriptions/order_builder.rb,
lib/solidus_subscriptions/permitted_attributes.rb,
app/models/solidus_subscriptions/line_item_builder.rb,
app/models/solidus_subscriptions/failure_dispatcher.rb,
app/models/solidus_subscriptions/installment_detail.rb,
app/models/solidus_subscriptions/success_dispatcher.rb,
app/models/solidus_subscriptions/user_mismatch_error.rb,
app/models/solidus_subscriptions/unsubscribable_error.rb,
app/jobs/solidus_subscriptions/process_installments_job.rb,
app/models/solidus_subscriptions/subscription_generator.rb,
app/models/solidus_subscriptions/out_of_stock_dispatcher.rb,
app/models/solidus_subscriptions/payment_failed_dispatcher.rb,
app/models/solidus_subscriptions/subscription_promotion_rule.rb,
lib/generators/solidus_subscriptions/install/install_generator.rb,
app/models/solidus_subscriptions/subscription_line_item_builder.rb,
app/models/solidus_subscriptions/subscription_order_promotion_rule.rb,
app/decorators/models/solidus_subscriptions/spree/order/after_create.rb,
app/decorators/models/solidus_subscriptions/spree/variant/variant_pretty_name.rb,
app/decorators/models/solidus_subscriptions/spree/user/have_many_subscriptions.rb,
app/decorators/models/solidus_subscriptions/spree/order/finalize_creates_subscriptions.rb,
app/decorators/models/solidus_subscriptions/spree/order/subscription_line_items_association.rb,
app/decorators/models/solidus_subscriptions/spree/line_item/subscription_line_items_association.rb,
app/decorators/controllers/solidus_subscriptions/spree/orders_controller/create_subscription_line_items.rb,
app/decorators/controllers/solidus_subscriptions/spree/api/line_items_controller/create_subscription_line_items.rb

Overview

Create new subscription line items associated to the current order, when a line item is added to the cart which includes subscription_line_item params.

The Subscriptions::LineItem acts as a line item place holder for a Subscription, indicating that it has been added to the order, but not yet purchased

Defined Under Namespace

Modules: Config, Generators, Interval, PermittedAttributes, Spree, SubscriptionGenerator, SubscriptionLineItemBuilder Classes: Ability, Checkout, Dispatcher, Engine, FailureDispatcher, Installment, InstallmentDetail, LineItem, LineItemBuilder, OrderBuilder, OutOfStockDispatcher, PaymentFailedDispatcher, ProcessInstallmentsJob, Processor, Subscription, SubscriptionOrderPromotionRule, SubscriptionPromotionRule, SuccessDispatcher, UnsubscribableError, UserMismatchError

Constant Summary collapse

VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.table_name_prefixObject


54
55
56
# File 'lib/solidus_subscriptions/engine.rb', line 54

def self.table_name_prefix
  'solidus_subscriptions_'
end