Class: Bitodeme::Configuration
- Inherits:
-
Object
- Object
- Bitodeme::Configuration
- Includes:
- Singleton
- Defined in:
- lib/bitodeme/configuration.rb
Overview
Configuration for Bitodeme
Instance Attribute Summary collapse
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#hostname ⇒ Object
readonly
Returns the value of attribute hostname.
-
#logging ⇒ Object
readonly
Returns the value of attribute logging.
Class Method Summary collapse
Instance Attribute Details
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
8 9 10 |
# File 'lib/bitodeme/configuration.rb', line 8 def client_id @client_id end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret.
8 9 10 |
# File 'lib/bitodeme/configuration.rb', line 8 def client_secret @client_secret end |
#hostname ⇒ Object (readonly)
Returns the value of attribute hostname.
8 9 10 |
# File 'lib/bitodeme/configuration.rb', line 8 def hostname @hostname end |
#logging ⇒ Object (readonly)
Returns the value of attribute logging.
8 9 10 |
# File 'lib/bitodeme/configuration.rb', line 8 def logging @logging end |
Class Method Details
.build ⇒ Object
13 14 15 |
# File 'lib/bitodeme/configuration.rb', line 13 def self.build $bitodeme_configuration ||= instance end |