Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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