couchrest_model/spec/fixtures/more/card.rb
2009-02-02 14:56:17 -08:00

7 lines
222 B
Ruby

class Card < CouchRest::ExtendedDocument
use_database TEST_SERVER.default_database
property :first_name
property :last_name, :alias => :family_name
property :read_only_value, :read_only => true
end