class ISBNdb::Api::Author
Attributes
client[R]
Public Class Methods
new(client:)
click to toggle source
# File lib/isbndb/api/author.rb, line 6 def initialize(client:) @client = client end
Public Instance Methods
batch(query, options = {})
click to toggle source
# File lib/isbndb/api/author.rb, line 14 def batch(query, options = {}) @client.request("/authors/#{query}", options) end
find(name, options = {})
click to toggle source
# File lib/isbndb/api/author.rb, line 10 def find(name, options = {}) @client.request("/author/#{name}", options) end
search(options = {})
click to toggle source
# File lib/isbndb/api/author.rb, line 18 def search(options = {}) @client.request("/search/authors/", options) end