Class: Bookle
- Inherits:
-
Object
- Object
- Bookle
- Defined in:
- lib/bookle.rb
Overview
Enables Ruby code interact with the Google Books API.
Class Method Summary collapse
-
.api(google_books_api_key) ⇒ Google::Books::API
– An instance of the class that interacts with the Google Books API.
Class Method Details
.api(google_books_api_key) ⇒ Google::Books::API
Returns – An instance of the class that interacts with the Google Books API.
9 10 11 |
# File 'lib/bookle.rb', line 9 def self.api(google_books_api_key) Google::Books::API.new(google_books_api_key) end |