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