Class: CFC::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/cfc/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#tokenObject

Returns the value of attribute token.



6
7
8
# File 'lib/cfc/config.rb', line 6

def token
  @token
end

Class Method Details

.configure {|CFC::Config.instance| ... } ⇒ Object

Yields:



8
9
10
# File 'lib/cfc/config.rb', line 8

def self.configure
  yield CFC::Config.instance
end