c280b3a29b
Refactored basic directory structure. Moved to ActiveSupport for Validations and Callbacks. Cleaned up older code, and removed support for text property types.
8 lines
100 B
Ruby
8 lines
100 B
Ruby
class Question < Hash
|
|
include ::CouchRest::Model::CastedModel
|
|
|
|
property :q
|
|
property :a
|
|
|
|
end
|