class OData4::Properties::Single
Public Instance Methods
type()
click to toggle source
The OData4
type name
# File lib/odata4/properties/float.rb, line 46 def type 'Edm.Single' end
url_value()
click to toggle source
Value to be used in URLs. @return [String]
# File lib/odata4/properties/float.rb, line 52 def url_value "#{value}F" end
Private Instance Methods
max_value()
click to toggle source
# File lib/odata4/properties/float.rb, line 62 def max_value @max ||= (3.4 * (10**38)) end
min_value()
click to toggle source
# File lib/odata4/properties/float.rb, line 58 def min_value @min ||= -(3.4 * (10**38)) end