Class: Frodo::Properties::Guid

Inherits:
Frodo::Property show all
Defined in:
lib/frodo/properties/guid.rb

Overview

Defines the GUID Frodo type.

Instance Attribute Summary

Attributes inherited from Frodo::Property

#name, #options, #value

Instance Method Summary collapse

Methods inherited from Frodo::Property

#==, #allows_nil?, #concurrency_mode, from_xml, #initialize, #json_value, #strict?, #to_xml, #xml_value

Constructor Details

This class inherits a constructor from Frodo::Property

Instance Method Details

#typeObject

The Frodo type name



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

def type
  'Edm.Guid'
end

#url_valueString

Value to be used in URLs.

Returns:



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

def url_value
  "#{value}"
end