lib/myjohndeere/boundary.rb in myjohndeere-0.0.11 vs lib/myjohndeere/boundary.rb in myjohndeere-0.1.0
- old
+ new
@@ -8,10 +8,9 @@
def initialize(json_object, access_token = nil, field_id = nil)
super(json_object, access_token)
self.field_id = field_id
self.active = self.active.to_s.downcase == "true"
- self.multipolygons = json_object["multipolygons"]
# This doesn't exist currently, not sure why
self.field_id ||= extract_link_with_rel_from_list("fields", /\/(\d+)\/(.+?)\/fields\Z/)
end
end
end
\ No newline at end of file