Class: OData::Properties::Guid

Inherits:
OData::Property show all
Defined in:
lib/odata/properties/guid.rb

Overview

Defines the GUID OData type.

Instance Attribute Summary

Attributes inherited from OData::Property

#name, #value

Instance Method Summary collapse

Methods inherited from OData::Property

#==, #allows_nil?, #concurrency_mode, #initialize, #to_xml, #xml_value

Constructor Details

This class inherits a constructor from OData::Property

Instance Method Details

#typeObject

The OData type name



6
7
8
# File 'lib/odata/properties/guid.rb', line 6

def type
  'Edm.Guid'
end

#url_valueString

Value to be used in URLs.

Returns:



12
13
14
# File 'lib/odata/properties/guid.rb', line 12

def url_value
  "guid'#{value}'"
end