Method: OData4::Properties::Geography::Polygon#xml_value
- Defined in:
- lib/odata4/properties/geography/polygon.rb
#xml_value ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/odata4/properties/geography/polygon.rb', line 18 def xml_value { exterior: { LinearRing: value.map do |coords| { pos: coords.join(' ') } end } } end |