Class: OData4::Properties::Date
- Inherits:
-
DateTime
- Object
- OData4::Property
- DateTime
- OData4::Properties::Date
- Defined in:
- lib/odata4/properties/date.rb
Overview
Defines the Date OData4 type.
Instance Attribute Summary
Attributes inherited from OData4::Property
Instance Method Summary collapse
-
#type ⇒ Object
The OData4 type name.
- #url_value ⇒ Object
Methods inherited from DateTime
#json_value, #value, #value=, #xml_value
Methods inherited from OData4::Property
#==, #allows_nil?, #concurrency_mode, from_xml, #initialize, #json_value, #strict?, #to_xml, #xml_value
Constructor Details
This class inherits a constructor from OData4::Property
Instance Method Details
#type ⇒ Object
The OData4 type name
8 9 10 |
# File 'lib/odata4/properties/date.rb', line 8 def type 'Edm.Date' end |
#url_value ⇒ Object
12 13 14 |
# File 'lib/odata4/properties/date.rb', line 12 def url_value @value end |