Class: FlickrConfig
- Inherits:
-
Object
- Object
- FlickrConfig
- Includes:
- Validatable
- Defined in:
- lib/config/config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#shared_secret ⇒ Object
readonly
Returns the value of attribute shared_secret.
Instance Method Summary collapse
-
#initialize(api_key, shared_secret) ⇒ FlickrConfig
constructor
A new instance of FlickrConfig.
Methods included from Validatable
Constructor Details
#initialize(api_key, shared_secret) ⇒ FlickrConfig
Returns a new instance of FlickrConfig.
31 32 33 34 |
# File 'lib/config/config.rb', line 31 def initialize(api_key, shared_secret) @api_key = api_key @shared_secret = shared_secret end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
29 30 31 |
# File 'lib/config/config.rb', line 29 def api_key @api_key end |
#shared_secret ⇒ Object (readonly)
Returns the value of attribute shared_secret.
29 30 31 |
# File 'lib/config/config.rb', line 29 def shared_secret @shared_secret end |