Class: Jaxx::AboutMe

Inherits:
Object
  • Object
show all
Extended by:
ApiMapper
Defined in:
lib/jaxx/about_me.rb

Instance Method Summary collapse

Methods included from ApiMapper

extended

Instance Method Details

#inspectObject



33
34
35
# File 'lib/jaxx/about_me.rb', line 33

def inspect
  self.to_hash.to_s
end

#to_hashObject



29
30
31
# File 'lib/jaxx/about_me.rb', line 29

def to_hash
  self.class.api_attributes.inject({}) {|hsh, at| hsh[at] = send(at); hsh }
end