Module: Jackpot
- Extended by:
- Jackpot
- Included in:
- Jackpot
- Defined in:
- lib/jackpot.rb,
lib/jackpot/cron.rb,
lib/jackpot/base.rb,
lib/jackpot/errors.rb,
lib/jackpot/engine.rb,
lib/jackpot/version.rb,
lib/jackpot/factory.rb,
app/models/jackpot/card.rb,
app/models/jackpot/user.rb,
lib/jackpot/configuration.rb,
app/models/jackpot/payment.rb,
app/models/jackpot/gateway.rb,
app/models/jackpot/customer.rb,
app/mailers/jackpot/notifier.rb,
app/models/jackpot/subscription.rb,
app/helpers/jackpot/customers_helper.rb,
app/helpers/jackpot/application_helper.rb,
app/helpers/jackpot/subscriptions_helper.rb,
app/controllers/jackpot/receipts_controller.rb,
app/controllers/jackpot/payments_controller.rb,
app/controllers/jackpot/customers_controller.rb,
app/controllers/jackpot/application_controller.rb,
app/controllers/jackpot/subscriptions_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Base, CustomersHelper, Errors, SubscriptionsHelper
Classes: ApplicationController, Card, Configuration, Cron, Customer, CustomersController, Engine, Factory, Gateway, Notifier, Payment, PaymentsController, ReceiptsController, Subscription, SubscriptionsController, User
Constant Summary
- Error =
Class.new(StandardError)
- VERSION =
"0.0.3"
Class Method Summary
(collapse)
Instance Method Summary
(collapse)
Class Method Details
+ (Object) table_name_prefix
3
4
5
|
# File 'app/models/jackpot/user.rb', line 3
def self.table_name_prefix
'jackpot_'
end
|
Instance Method Details
- (Object) configuration
17
18
19
|
# File 'lib/jackpot.rb', line 17
def configuration
@configuration ||= Configuration.new
end
|
13
14
15
|
# File 'lib/jackpot.rb', line 13
def configure(&block)
Jackpot::Base.gateway = configuration.configure &block
end
|