Class: DataMapper::Types::JsonObject
- Inherits:
-
DataMapper::Type
- Object
- DataMapper::Type
- DataMapper::Types::JsonObject
- Defined in:
- lib/couchdb_adapter/json_object.rb
Class Method Summary collapse
Class Method Details
.dump(value, property) ⇒ Object
14 15 16 |
# File 'lib/couchdb_adapter/json_object.rb', line 14 def self.dump(value, property) value.nil? ? nil : value end |
.load(value, property) ⇒ Object
10 11 12 |
# File 'lib/couchdb_adapter/json_object.rb', line 10 def self.load(value, property) value.nil? ? nil : value end |
.typecast(value, property) ⇒ Object
18 19 20 |
# File 'lib/couchdb_adapter/json_object.rb', line 18 def self.typecast(value, property) value end |