Class: FrOData::Properties::Guid
- Inherits:
-
FrOData::Property
- Object
- FrOData::Property
- FrOData::Properties::Guid
- Defined in:
- lib/frodata/properties/guid.rb
Overview
Defines the GUID FrOData type.
Instance Attribute Summary
Attributes inherited from FrOData::Property
Instance Method Summary collapse
-
#type ⇒ Object
The FrOData type name.
-
#url_value ⇒ String
Value to be used in URLs.
Methods inherited from FrOData::Property
#==, #allows_nil?, #concurrency_mode, from_xml, #initialize, #json_value, #strict?, #to_xml, #xml_value
Constructor Details
This class inherits a constructor from FrOData::Property
Instance Method Details
#type ⇒ Object
The FrOData type name
6 7 8 |
# File 'lib/frodata/properties/guid.rb', line 6 def type 'Edm.Guid' end |
#url_value ⇒ String
Value to be used in URLs.
12 13 14 |
# File 'lib/frodata/properties/guid.rb', line 12 def url_value "guid'#{value}'" end |