Module: AccessTokenWrapper

Defined in:
lib/access_token_wrapper.rb,
lib/access_token_wrapper/base.rb,
lib/access_token_wrapper/version.rb,
lib/access_token_wrapper/from_record.rb,
lib/access_token_wrapper/configuration.rb

Defined Under Namespace

Classes: Base, Configuration, FromRecord

Constant Summary collapse

VERSION =
"0.5.0"

Class Method Summary collapse

Class Method Details

.configurationObject



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

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



13
14
15
# File 'lib/access_token_wrapper.rb', line 13

def configure
  yield(configuration)
end

.reset_configuration!Object



17
18
19
# File 'lib/access_token_wrapper.rb', line 17

def reset_configuration!
  @configuration = Configuration.new
end