Module: ApiBucket::Itunes::Configuration
- Included in:
- ApiBucket::Itunes
- Defined in:
- lib/api_bucket/itunes/configuration.rb
Instance Attribute Summary collapse
-
#country ⇒ Object
Returns the value of attribute country.
-
#limit ⇒ Object
Returns the value of attribute limit.
Instance Method Summary collapse
Instance Attribute Details
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/api_bucket/itunes/configuration.rb', line 3 def country @country end |
#limit ⇒ Object
Returns the value of attribute limit.
3 4 5 |
# File 'lib/api_bucket/itunes/configuration.rb', line 3 def limit @limit end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
5 6 7 |
# File 'lib/api_bucket/itunes/configuration.rb', line 5 def configure yield self end |
#options ⇒ Object
9 10 11 |
# File 'lib/api_bucket/itunes/configuration.rb', line 9 def [:country, :limit].inject({}){|o,k| o.merge!(k => send(k))} end |