Class: MediaArtsDb::Comic::SearchMagazine
- Inherits:
-
RetrieveTemplate
- Object
- RetrieveTemplate
- MediaArtsDb::Comic::SearchMagazine
- Defined in:
- lib/media_arts_db/comic/retrieve.rb
Instance Method Summary collapse
-
#initialize(keyword, per: 100, page: 1) ⇒ SearchMagazine
constructor
A new instance of SearchMagazine.
Methods inherited from RetrieveTemplate
Constructor Details
#initialize(keyword, per: 100, page: 1) ⇒ SearchMagazine
Returns a new instance of SearchMagazine.
189 190 191 192 |
# File 'lib/media_arts_db/comic/retrieve.rb', line 189 def initialize(keyword, per: 100, page: 1) @uri = MediaArtsDb.comic_search_uri @query = query_builder({keyword_magazine: keyword, per: per, page: page}) end |