Module: Petfinder

Defined in:
lib/petfinder.rb,
lib/petfinder/pet.rb,
lib/petfinder/auth.rb,
lib/petfinder/breeds.rb,
lib/petfinder/client.rb,
lib/petfinder/shelter.rb,
lib/petfinder/version.rb,
lib/petfinder/xml_mapper.rb

Defined Under Namespace

Modules: XmlMapper Classes: Auth, Breeds, Client, Error, Pet, Shelter

Constant Summary collapse

VERSION =
"1.0.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



17
18
19
# File 'lib/petfinder.rb', line 17

def api_key
  @api_key
end

.api_secretObject

Returns the value of attribute api_secret.



17
18
19
# File 'lib/petfinder.rb', line 17

def api_secret
  @api_secret
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Petfinder)

    the object that the method was called on



20
21
22
23
# File 'lib/petfinder.rb', line 20

def self.configure
  yield self
  true
end