Class: Openbd::Client
- Inherits:
-
Object
- Object
- Openbd::Client
- Defined in:
- lib/openbd.rb
Instance Method Summary collapse
Instance Method Details
#coverage ⇒ Object
21 22 23 24 25 |
# File 'lib/openbd.rb', line 21 def coverage url = "#{END_POINT}/coverage" resp = client.get(url) body(resp) end |
#get(isbn) ⇒ Object
13 14 15 |
# File 'lib/openbd.rb', line 13 def get(isbn) _get(isbn, :get) end |
#get_big(isbn) ⇒ Object
17 18 19 |
# File 'lib/openbd.rb', line 17 def get_big(isbn) _get(isbn, :post) end |