Sha256: 75208c3631538260edf8eb5b027a5e7c7d08d9c4c2ba76987dd3bfa84ae9a64d
Contents?: true
Size: 894 Bytes
Versions: 10
Compression:
Stored size: 894 Bytes
Contents
#lib_dir = File.expand_path("..", __FILE__) #$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir) require "kaui/engine" module Kaui mattr_accessor :killbill_finder mattr_accessor :account_home_path mattr_accessor :bundle_home_path mattr_accessor :invoice_home_path mattr_accessor :bundle_key_display_string mattr_accessor :creditcard_plugin_name self.killbill_finder = lambda { Kaui::Engine.config.killbill_url } self.account_home_path = lambda {|account_id| Kaui::Engine.routes.url_helpers.account_path(account_id) } self.bundle_home_path = lambda {|bundle_id| Kaui::Engine.routes.url_helpers.bundle_path(:id => bundle_id) } self.invoice_home_path = lambda {|invoice_id| Kaui::Engine.routes.url_helpers.invoice_path(:id => invoice_id) } self.bundle_key_display_string = lambda {|bundle_key| bundle_key } self.creditcard_plugin_name = lambda { nil } end
Version data entries
10 entries across 10 versions & 1 rubygems