Module: TokenMaster
- Defined in:
- lib/token_master.rb,
lib/token_master/core.rb,
lib/token_master/error.rb,
lib/token_master/model.rb,
lib/token_master/config.rb,
lib/token_master/railtie.rb,
lib/token_master/version.rb,
lib/generators/token_master/install_generator.rb,
lib/generators/token_master/migration_generator.rb
Defined Under Namespace
Modules: Core, Generators, Model Classes: Config, Error, MissingRequiredParams, NotConfigured, NotTokenable, Railtie, TokenCompleted, TokenExpired, TokenNotCompleted, TokenNotFound, TokenNotSet, TokenSent
Constant Summary collapse
- VERSION =
'0.0.1'.freeze
Class Method Summary collapse
Class Method Details
.config ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/token_master.rb', line 2 def self.config @config ||= TokenMaster::Config.new if block_given? yield @config else @config end end |