Sha256: 153bb2ceecff0209914e2d8f4eb9890ac97bb88062ddee7f6e31305268472aa4

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 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
      res
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
petfinder-wrap-1.0.3.5 lib/petfinder/shelter.rb