Class: RSpotify::RecommendationSeed
- Defined in:
- lib/rspotify/recommendation_seed.rb
Instance Attribute Summary collapse
-
#after_filtering_size ⇒ Integer
The number of tracks available after min_* and max_* filters have been applied.
-
#after_relinking_size ⇒ Integer
The number of tracks available after relinking for regional availability.
-
#initial_pool_size ⇒ Integer
The number of recommended tracks available for this seed.
Attributes inherited from Base
#external_urls, #href, #id, #type, #uri
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ RecommendationSeed
constructor
A new instance of RecommendationSeed.
Methods inherited from Base
#complete!, #embed, find, #method_missing, #respond_to?, search
Constructor Details
#initialize(options = {}) ⇒ RecommendationSeed
Returns a new instance of RecommendationSeed.
8 9 10 11 12 13 14 |
# File 'lib/rspotify/recommendation_seed.rb', line 8 def initialize( = {}) @after_filtering_size = ['afterFilteringSize'] @after_relinking_size = ['afterRelinkingSize'] @initial_pool_size = ['initialPoolSize'] super() end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RSpotify::Base
Instance Attribute Details
#after_filtering_size ⇒ Integer
The number of tracks available after min_* and max_* filters have been applied.
6 7 8 |
# File 'lib/rspotify/recommendation_seed.rb', line 6 def after_filtering_size @after_filtering_size end |
#after_relinking_size ⇒ Integer
The number of tracks available after relinking for regional availability.
6 7 8 |
# File 'lib/rspotify/recommendation_seed.rb', line 6 def after_relinking_size @after_relinking_size end |
#initial_pool_size ⇒ Integer
The number of recommended tracks available for this seed.
6 7 8 |
# File 'lib/rspotify/recommendation_seed.rb', line 6 def initial_pool_size @initial_pool_size end |