Casted Model now no longer depends on a Hash
This commit is contained in:
parent
98772ae98a
commit
406d2bc791
8 changed files with 57 additions and 26 deletions
4
spec/fixtures/models/cat.rb
vendored
4
spec/fixtures/models/cat.rb
vendored
|
@ -1,6 +1,6 @@
|
|||
|
||||
class CatToy < Hash
|
||||
include ::CouchRest::Model::CastedModel
|
||||
class CatToy
|
||||
include CouchRest::Model::CastedModel
|
||||
|
||||
property :name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue