Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created March 18, 2012 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dLobatog/2070340 to your computer and use it in GitHub Desktop.
Save dLobatog/2070340 to your computer and use it in GitHub Desktop.
class User < AWS::Record::HashModel
string_attr :id
string_attr :name
integer_attr :age
string_attr :sex
string_attr :city
boolean_attr :has_image, :default => false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment