lib/myjohndeere/map_layer_summary.rb in myjohndeere-0.0.4 vs lib/myjohndeere/map_layer_summary.rb in myjohndeere-0.0.5
- old
+ new
@@ -8,10 +8,10 @@
def initialize(json_object, access_token = nil)
super(json_object, access_token)
end
def self.create(access_token, organization_id, field_id,
- title, caption, metadata = [], date_created=nil)
+ title, caption, metadata: [], date_created: nil)
body = {
title: title,
text: caption,
links: [
owning_organization_link_item(organization_id),
\ No newline at end of file