Class: Jaxx::AboutMe
- Inherits:
-
Object
- Object
- Jaxx::AboutMe
- Extended by:
- ApiMapper
- Defined in:
- lib/jaxx/about_me.rb
Instance Method Summary collapse
Methods included from ApiMapper
Instance Method Details
#inspect ⇒ Object
33 34 35 |
# File 'lib/jaxx/about_me.rb', line 33 def inspect self.to_hash.to_s end |
#to_hash ⇒ Object
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 |