Class: AP::API
Defined Under Namespace
Classes: MissingAPIKeyError
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
A new instance of API.
Constructor Details
Class Method Details
.get(*args) ⇒ Object
14 15 16 17 |
# File 'lib/ap/api.rb', line 14 def self.get(*args) raise MissingAPIKeyError if default_params.nil? || default_params[:apiKey].nil? || default_params[:apiKey].empty? super end |