lib/petfinder/shelter.rb in petfinder-wrap-1.0.3 vs lib/petfinder/shelter.rb in petfinder-wrap-1.0.3.3
- old
+ new
@@ -1,8 +1,11 @@
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