lib/petfinder/auth.rb in petfinder-0.1.3 vs lib/petfinder/auth.rb in petfinder-1.0.0

- old
+ new

@@ -1,13 +1,12 @@ module Petfinder - class Auth - include HappyMapper + extend XmlMapper - tag 'auth' - element :key, String - element :token, String - element :expires, String - element :expiresString, String - end + xml_attributes :key, :token, :expires, :expires_string + def initialize(xml) + @xml = xml + end + + end end