Class: DataMapper::Types::AppEngineStringType

Inherits:
Type
  • Object
show all
Defined in:
lib/dm-appengine/types.rb

Direct Known Subclasses

Blob, ByteString, Category, Email, Link, PhoneNumber, PostalAddress

Class Method Summary collapse

Class Method Details

.dump(value, property) ⇒ Object



42
43
44
# File 'lib/dm-appengine/types.rb', line 42

def self.dump(value, property)
  self::DATASTORE_TYPE.new(value) if value
end

.load(value, property) ⇒ Object



46
47
48
# File 'lib/dm-appengine/types.rb', line 46

def self.load(value, property)
  value
end