Class: Iugu::SearchResult
- Inherits:
-
Object
- Object
- Iugu::SearchResult
- Defined in:
- lib/iugu/search_result.rb
Instance Method Summary collapse
-
#initialize(results, total_results) ⇒ SearchResult
constructor
A new instance of SearchResult.
- #results ⇒ Object
- #total ⇒ Object
Constructor Details
#initialize(results, total_results) ⇒ SearchResult
Returns a new instance of SearchResult.
3 4 5 6 |
# File 'lib/iugu/search_result.rb', line 3 def initialize(results, total_results) @results = results @total = total_results end |