Class: Discogs::Search
- Defined in:
- lib/wrapper/resources/search.rb
Overview
Represents a search resultset in the Discogs API.
Defined Under Namespace
Classes: Result
Instance Attribute Summary collapse
-
#end ⇒ Object
Returns the value of attribute end.
-
#exactresults ⇒ Object
Returns the value of attribute exactresults.
-
#numResults ⇒ Object
Returns the value of attribute numResults.
-
#searchresults ⇒ Object
Returns the value of attribute searchresults.
-
#start ⇒ Object
Returns the value of attribute start.
Instance Method Summary collapse
Methods inherited from Resource
#build!, #build_with_resp!, #initialize, #original_content
Methods included from ResourceMappings
Constructor Details
This class inherits a constructor from Discogs::Resource
Instance Attribute Details
#end ⇒ Object
Returns the value of attribute end.
7 8 9 |
# File 'lib/wrapper/resources/search.rb', line 7 def end @end end |
#exactresults ⇒ Object
Returns the value of attribute exactresults.
7 8 9 |
# File 'lib/wrapper/resources/search.rb', line 7 def exactresults @exactresults end |
#numResults ⇒ Object
Returns the value of attribute numResults.
7 8 9 |
# File 'lib/wrapper/resources/search.rb', line 7 def numResults @numResults end |
#searchresults ⇒ Object
Returns the value of attribute searchresults.
7 8 9 |
# File 'lib/wrapper/resources/search.rb', line 7 def searchresults @searchresults end |
#start ⇒ Object
Returns the value of attribute start.
7 8 9 |
# File 'lib/wrapper/resources/search.rb', line 7 def start @start end |
Instance Method Details
#total_results ⇒ Object
13 14 15 |
# File 'lib/wrapper/resources/search.rb', line 13 def total_results self.numResults end |