Module: Wrest::Components::Container::Typecaster::Helpers
- Defined in:
- lib/wrest/components/container/typecaster.rb
Instance Method Summary collapse
- #as_base64Binary ⇒ Object
- #as_boolean ⇒ Object
- #as_date ⇒ Object
- #as_datetime ⇒ Object
- #as_decimal ⇒ Object
- #as_float ⇒ Object
- #as_integer ⇒ Object
- #as_symbol ⇒ Object
- #as_yaml ⇒ Object
Instance Method Details
#as_base64Binary ⇒ Object
31 32 33 |
# File 'lib/wrest/components/container/typecaster.rb', line 31 def as_base64Binary ActiveSupport::XmlMini::PARSING['base64Binary'] end |
#as_boolean ⇒ Object
35 36 37 |
# File 'lib/wrest/components/container/typecaster.rb', line 35 def as_boolean ActiveSupport::XmlMini::PARSING['boolean'] end |
#as_date ⇒ Object
43 44 45 |
# File 'lib/wrest/components/container/typecaster.rb', line 43 def as_date ActiveSupport::XmlMini::PARSING['date'] end |
#as_datetime ⇒ Object
47 48 49 |
# File 'lib/wrest/components/container/typecaster.rb', line 47 def as_datetime ActiveSupport::XmlMini::PARSING['datetime'] end |
#as_decimal ⇒ Object
39 40 41 |
# File 'lib/wrest/components/container/typecaster.rb', line 39 def as_decimal ActiveSupport::XmlMini::PARSING['decimal'] end |
#as_float ⇒ Object
51 52 53 |
# File 'lib/wrest/components/container/typecaster.rb', line 51 def as_float ActiveSupport::XmlMini::PARSING['float'] end |
#as_integer ⇒ Object
55 56 57 |
# File 'lib/wrest/components/container/typecaster.rb', line 55 def as_integer ActiveSupport::XmlMini::PARSING['integer'] end |
#as_symbol ⇒ Object
59 60 61 |
# File 'lib/wrest/components/container/typecaster.rb', line 59 def as_symbol ActiveSupport::XmlMini::PARSING['symbol'] end |
#as_yaml ⇒ Object
63 64 65 |
# File 'lib/wrest/components/container/typecaster.rb', line 63 def as_yaml ActiveSupport::XmlMini::PARSING['yaml'] end |