Module: Susply
- Defined in:
- lib/susply.rb,
lib/susply/engine.rb,
lib/susply/version.rb,
app/models/susply/plan.rb,
app/models/susply/payment.rb,
app/services/susply/prorate.rb,
app/models/susply/subscription.rb,
app/services/susply/calculations.rb,
app/services/susply/owner_methods.rb,
app/services/susply/create_payment.rb,
app/helpers/susply/application_helper.rb,
app/services/susply/close_subscription.rb,
app/services/susply/cancel_subscription.rb,
app/services/susply/change_subscription.rb,
app/services/susply/create_subscription.rb,
app/services/susply/renews_subscription.rb,
lib/generators/susply/install_generator.rb,
app/controllers/susply/application_controller.rb,
app/controllers/susply/renovations_controller.rb,
app/controllers/susply/change_plans_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Calculations, CreatePayment, OwnerMethods, Prorate Classes: ApplicationController, CancelSubscription, ChangePlansController, ChangeSubscription, CloseSubscription, CreateSubscription, Engine, InstallGenerator, Payment, Plan, RenewsSubscription, RenovationsController, Subscription
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
-
.owner_resource ⇒ Object
ejm :organizations.
- .setup {|_self| ... } ⇒ Object
Class Method Details
.owner_resource ⇒ Object
ejm :organizations
13 14 15 |
# File 'lib/susply.rb', line 13 def self.owner_resource subscription_owner_class.downcase.pluralize.to_sym end |
.setup {|_self| ... } ⇒ Object
8 9 10 |
# File 'lib/susply.rb', line 8 def self.setup(&block) yield self end |