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

Defined Under Namespace

Modules: Core, Errors, Model Classes: Config, Railtie

Constant Summary collapse

VERSION =

Current version of TokenMaster

'1.1.0'.freeze

Class Method Summary collapse

Class Method Details

.configObject


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