Class: Nylas::Types::ValueType

Inherits:
Object
  • Object
show all
Defined in:
lib/nylas/types.rb

Overview

Base type for attributes

Instance Method Summary collapse

Instance Method Details

#cast(object) ⇒ Object



12
13
14
# File 'lib/nylas/types.rb', line 12

def cast(object)
  object
end

#deseralize(object) ⇒ Object



20
21
22
# File 'lib/nylas/types.rb', line 20

def deseralize(object)
  object
end

#serialize(object) ⇒ Object



16
17
18
# File 'lib/nylas/types.rb', line 16

def serialize(object)
  object
end

#serialize_for_api(object) ⇒ Object



24
25
26
# File 'lib/nylas/types.rb', line 24

def serialize_for_api(object)
  serialize(object)
end