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