Started on the ExtendedDocument class with features moved to mixins.
Properties got added, they define getters, setters and aliases. They will also be the base of the new validation system.
This commit is contained in:
parent
90f460641e
commit
750c705596
12 changed files with 533 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
module CouchRest
|
||||
class Response < Hash
|
||||
def initialize keys = {}
|
||||
def initialize(keys = {})
|
||||
keys.each do |k,v|
|
||||
self[k.to_s] = v
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue