Module: SubscriptionFu

Defined in:
lib/subscription_fu.rb,
lib/subscription_fu/config.rb,
lib/subscription_fu/engine.rb,
lib/subscription_fu/models.rb,
lib/subscription_fu/railtie.rb,
lib/subscription_fu/version.rb,
lib/generators/subscription_fu/install_generator.rb

Defined Under Namespace

Modules: Generators, Models, Paypal Classes: Config, Engine, Plan, Railtie, Subscription, SystemInitiator, Transaction

Constant Summary collapse

VERSION =
"0.4.0"

Class Method Summary collapse

Class Method Details

.configObject



5
6
7
# File 'lib/subscription_fu.rb', line 5

def self.config
  @config ||= SubscriptionFu::Config.new
end

.friendly_tokenObject



9
10
11
# File 'lib/subscription_fu.rb', line 9

def self.friendly_token
  ActiveSupport::SecureRandom.base64(44).tr('+/=', 'xyz')
end