Module: Kaui

Defined in:
lib/kaui.rb,
lib/kaui/engine.rb,
lib/kaui/version.rb,
app/models/kaui/user.rb,
app/models/kaui/ability.rb,
app/helpers/kaui/date_helper.rb,
app/helpers/kaui/home_helper.rb,
app/helpers/kaui/uuid_helper.rb,
app/helpers/kaui/money_helper.rb,
app/models/kaui/rails_methods.rb,
app/helpers/kaui/application_helper.rb,
app/helpers/kaui/subscription_helper.rb,
app/controllers/kaui/sessions_controller.rb,
lib/generators/kaui/install/install_generator.rb

Defined Under Namespace

Modules: ApplicationHelper, DateHelper, HomeHelper, MoneyHelper, RailsMethods, SubscriptionHelper, UuidHelper Classes: Ability, Account, AccountEmail, AccountEmailsController, AccountTagsController, AccountTimeline, AccountTimelinesController, AccountsController, AuditLog, Base, Bundle, BundleTagsController, BundlesController, Catalog, Chargeback, ChargebacksController, ChargesController, Credit, CreditsController, CustomField, CustomFieldsController, Engine, EngineController, HomeController, InstallGenerator, Invoice, InvoiceItem, InvoiceItemsController, InvoicePayment, InvoicesController, Payment, PaymentMethod, PaymentMethodsController, PaymentsController, Refund, RefundsController, SessionsController, Subscription, SubscriptionsController, Tag, TagDefinition, TagDefinitionsController, TagsController, Transaction, TransactionsController, User

Constant Summary collapse

VERSION =
'0.7.0'

Class Method Summary collapse

Class Method Details

.config(&block) ⇒ Object



23
24
25
26
27
28
29
# File 'lib/kaui.rb', line 23

def self.config(&block)
  # TODO
  {
    :layout => layout || 'kaui/layouts/kaui_application',
    :killbill_url => killbill_url || ENV['KILLBILL_URL'] || 'http://127.0.0.1:8080'
  }
end