Module: Wrest::Components::Container::Typecaster::Helpers

Defined in:
lib/wrest/components/container/typecaster.rb

Instance Method Summary collapse

Instance Method Details

#as_base64_binaryObject



77
78
79
# File 'lib/wrest/components/container/typecaster.rb', line 77

def as_base64_binary
  PARSING['base64Binary']
end

#as_booleanObject



81
82
83
# File 'lib/wrest/components/container/typecaster.rb', line 81

def as_boolean
  PARSING['boolean']
end

#as_dateObject



89
90
91
# File 'lib/wrest/components/container/typecaster.rb', line 89

def as_date
  PARSING['date']
end

#as_datetimeObject



93
94
95
# File 'lib/wrest/components/container/typecaster.rb', line 93

def as_datetime
  PARSING['datetime']
end

#as_decimalObject



85
86
87
# File 'lib/wrest/components/container/typecaster.rb', line 85

def as_decimal
  PARSING['decimal']
end

#as_floatObject



97
98
99
# File 'lib/wrest/components/container/typecaster.rb', line 97

def as_float
  PARSING['float']
end

#as_integerObject



101
102
103
# File 'lib/wrest/components/container/typecaster.rb', line 101

def as_integer
  PARSING['integer']
end

#as_symbolObject



105
106
107
# File 'lib/wrest/components/container/typecaster.rb', line 105

def as_symbol
  PARSING['symbol']
end

#as_yamlObject



109
110
111
# File 'lib/wrest/components/container/typecaster.rb', line 109

def as_yaml
  PARSING['yaml']
end