Class: BandPage::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/band_page/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

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_idObject

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_idObject

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_keyObject

Returns the value of attribute secret_key.



5
6
7
# File 'lib/band_page/config.rb', line 5

def secret_key
  @secret_key
end