Sha256: 8cf995981522a2e910d1472bab8fcc278dca0c9fb6a298ce900da14cb5332961
Contents?: true
Size: 333 Bytes
Versions: 2
Compression:
Stored size: 333 Bytes
Contents
module Petfinder class Shelter extend JsonMapper json_attributes "country", "name", "phone", "state", "address", "email", "city", "zip", "id" attr_reader :attributes def initialize attributes @attributes = attributes end def get_pets res = Client.new.get_shelter_pets self end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
petfinder-wrap-1.0.4.1 | lib/petfinder/shelter.rb |
petfinder-wrap-1.0.4 | lib/petfinder/shelter.rb |