Module: Kaui
- Defined in:
- lib/kaui.rb,
lib/kaui/engine.rb,
lib/kaui/version.rb,
lib/kaui/error_helper.rb,
app/models/kaui/product.rb,
app/helpers/kaui/date_helper.rb,
app/helpers/kaui/home_helper.rb,
app/helpers/kaui/killbill_helper.rb,
app/helpers/kaui/application_helper.rb,
app/controllers/kaui/analytics_controller.rb,
lib/generators/kaui/install/install_generator.rb,
app/controllers/kaui/account_emails_controller.rb,
app/controllers/kaui/tag_definitions_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, DateHelper, ErrorHelper, HomeHelper, KillbillHelper Classes: Account, AccountEmail, AccountEmailsController, AccountTagsController, AccountTimeline, AccountTimelinesController, AccountsController, Analytics, AnalyticsController, AnalyticsSanity, AuditLog, Base, BillCycleDay, Bundle, BundleTagsController, BundlesController, BusinessAccount, BusinessField, BusinessInvoice, BusinessInvoiceItem, BusinessInvoicePayment, BusinessOverdueStatus, BusinessSnapshot, BusinessSubscriptionTransition, BusinessTag, Charge, Chargeback, ChargebacksController, ChargesController, Credit, CreditsController, CustomField, Engine, EngineController, Event, ExternalPayment, HomeController, InstallGenerator, Invoice, InvoiceItem, InvoiceItemsController, InvoicesController, OverdueState, Payment, PaymentAttempt, PaymentMethod, PaymentMethodsController, PaymentsController, PluginInfo, PluginInfoProperty, Product, Refund, RefundsController, Subscription, SubscriptionsController, Tag, TagDefinition, TagDefinitionsController, TimeSeriesData
Constant Summary collapse
- VERSION =
"0.2.1"
- SAMPLE_BASE_PRODUCTS =
[ Kaui::Product.new(:id => "product1", :product_category => "Base", :product_name => "OneBase", :billing_period => "ANNUAL"), Kaui::Product.new(:id => "product2", :product_category => "Base", :product_name => "TwoBase", :billing_period => "MONTHLY"), ]
- SAMPLE_ADDON_PRODUCTS =
[ Kaui::Product.new(:id => "addon1", :product_category => "AddOn", :product_name => "OneAddon", :billing_period => "MONTHLY"), Kaui::Product.new(:id => "addon2", :product_category => "AddOn", :product_name => "TwoAddon", :billing_period => "MONTHLY"), ]
Class Method Summary collapse
Class Method Details
.config(&block) ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/kaui.rb', line 24 def self.config(&block) # TODO { :default_current_user => default_current_user || 'Kaui admin user', :layout => layout || 'kaui/layouts/kaui_application', :killbill_url => killbill_url || ENV['KILLBILL_URL'] || 'http://127.0.0.1:8080' } end |