Sha256: 2fa3f3d88ab10bf810a30cfa8d75a57c90c53c29c8dfbbb7c52b292a341756a0
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
module TimesBooks class Client include TimesBooks::Request include TimesBooks::List attr_reader :api_key def initialize(options = {}) fail(ArgumentError, "Options hash required.") unless options.is_a?(Hash) @api_key = options[:api_key] || TimesBooks.configuration[:api_key] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
times_books-0.1.2 | lib/times_books/client.rb |
times_books-0.1.1 | lib/times_books/client.rb |
times_books-0.1.0 | lib/times_books/client.rb |