Module: Petfinder
- Defined in:
- lib/petfinder.rb,
lib/petfinder/api.rb,
lib/petfinder/mash.rb,
lib/petfinder/client.rb,
lib/petfinder/version.rb
Defined Under Namespace
Modules: Api Classes: Client, Error, Mash
Constant Summary collapse
- API_URL =
"https://api.petfinder.com/v2"
- VERSION =
"2.0.1"
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.api_secret ⇒ Object
Returns the value of attribute api_secret.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
20 21 22 |
# File 'lib/petfinder.rb', line 20 def api_key @api_key end |
.api_secret ⇒ Object
Returns the value of attribute api_secret.
20 21 22 |
# File 'lib/petfinder.rb', line 20 def api_secret @api_secret end |
Class Method Details
.configure {|_self| ... } ⇒ Object
23 24 25 26 |
# File 'lib/petfinder.rb', line 23 def self.configure yield self true end |