Class: BandPage::Config
- Inherits:
-
Object
- Object
- BandPage::Config
- Defined in:
- lib/band_page/config.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#band_id ⇒ Object
Returns the value of attribute band_id.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize(conf) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(conf) ⇒ Config
Returns a new instance of Config.
7 8 9 10 11 12 |
# File 'lib/band_page/config.rb', line 7 def initialize(conf) @app_id = conf[:app_id] @client_id = conf[:client_id] @secret_key = conf[:secret_key] @band_id = conf[:band_id] end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
5 6 7 |
# File 'lib/band_page/config.rb', line 5 def app_id @app_id end |
#band_id ⇒ Object
Returns the value of attribute band_id.
5 6 7 |
# File 'lib/band_page/config.rb', line 5 def band_id @band_id end |
#client_id ⇒ Object
Returns the value of attribute client_id.
5 6 7 |
# File 'lib/band_page/config.rb', line 5 def client_id @client_id end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
5 6 7 |
# File 'lib/band_page/config.rb', line 5 def secret_key @secret_key end |