couchrest_model/spec/fixtures/more/event.rb

6 lines
172 B
Ruby
Raw Normal View History

class Event < CouchRest::ExtendedDocument
use_database TEST_SERVER.default_database
property :subject
property :occurs_at, :cast_as => 'Time', :send => 'parse'
end