Sha256: 54d370b03ab8cde79a12a1e93fea0d3212791b32c0041c25403383d9adf4bbd5
Contents?: true
Size: 449 Bytes
Versions: 4
Compression:
Stored size: 449 Bytes
Contents
module ISBNdb module Api class Author attr_reader :client def initialize(client:) @client = client end def find(name, options = {}) @client.request("/author/#{name}", options) end def batch(query, options = {}) @client.request("/authors/#{query}", options) end def search(options = {}) @client.request("/search/authors/", options) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
isbndb-ruby-0.1.3 | lib/isbndb/api/author.rb |
isbndb-ruby-0.1.2 | lib/isbndb/api/author.rb |
isbndb-ruby-0.1.1 | lib/isbndb/api/author.rb |
isbndb-ruby-0.1.0 | lib/isbndb/api/author.rb |