Sha256: 1bffbacf2f23b4cdcf1a0ab1761d307e5abffaf78a1983b7a56f0b6423df0f7d

Contents?: true

Size: 149 Bytes

Versions: 10

Compression:

Stored size: 149 Bytes

Contents

class Person < Hash
  include ::CouchRest::CastedModel
  property :name
  property :pet, :cast_as => 'Cat'
  
  def last_name
    name.last
  end
end

Version data entries

10 entries across 10 versions & 5 rubygems

Version Path
mattetti-couchrest-0.34 spec/fixtures/more/person.rb
norr-couchrest-0.33.06 spec/fixtures/more/person.rb
norr-couchrest-0.33.07 spec/fixtures/more/person.rb
peterpunk-couchrest-0.34.1 spec/fixtures/more/person.rb
sporkd-couchrest-0.30 spec/fixtures/more/person.rb
sporkd-couchrest-0.31 spec/fixtures/more/person.rb
sporkd-couchrest-0.33 spec/fixtures/more/person.rb
sporkd-couchrest-0.34 spec/fixtures/more/person.rb
couchrest-0.35 spec/fixtures/more/person.rb
couchrest-0.34 spec/fixtures/more/person.rb