Sha256: aa0ed5567234867d447b6d393eb0a8d526ad16344fd0c4ad74741aa1593841a5

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

module Petfinder

  class Pet
    extend JsonMapper

    json_attributes "name", "breed", "age", "size", "id", "shelter_id",
                    "description", "shelter_id"

    attr_reader :media, :contact
    def initialize pet_hash
      @attributes = pet_hash
    end

    def contact
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
petfinder-wrap-1.0.1.1 lib/petfinder/pet.rb
petfinder-wrap-1.0.0 lib/petfinder/pet.rb