Class: Lastfm::AnyParams
- Inherits:
-
Object
- Object
- Lastfm::AnyParams
- Defined in:
- lib/lastfm/method_category/base.rb
Instance Attribute Summary collapse
-
#candidates ⇒ Object
readonly
Returns the value of attribute candidates.
Instance Method Summary collapse
-
#initialize(candidates) ⇒ AnyParams
constructor
A new instance of AnyParams.
Constructor Details
#initialize(candidates) ⇒ AnyParams
Returns a new instance of AnyParams.
5 6 7 |
# File 'lib/lastfm/method_category/base.rb', line 5 def initialize(candidates) @candidates = candidates end |
Instance Attribute Details
#candidates ⇒ Object (readonly)
Returns the value of attribute candidates.
3 4 5 |
# File 'lib/lastfm/method_category/base.rb', line 3 def candidates @candidates end |