lib/brandspotter/client/jobs.rb in brandspotter-1.0.1 vs lib/brandspotter/client/jobs.rb in brandspotter-1.0.2
- old
+ new
@@ -25,10 +25,10 @@
def find_location(id)
get_request configure_payload("/locations/#{id}")
end
def create_location(opts={})
- opts.assert_valid_keys(:location)
+ opts.assert_valid_keys(:location, :instagram_location_id)
post_request '/locations', opts
end
def destroy_location(id)
delete_request "/locations/#{id}"