Class: FlickrConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Validatable

#valid?

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_keyObject (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_secretObject (readonly)

Returns the value of attribute shared_secret.



29
30
31
# File 'lib/config/config.rb', line 29

def shared_secret
  @shared_secret
end