lib/citygrid/api/advertising/image.rb in citygrid_api-0.0.6 vs lib/citygrid/api/advertising/image.rb in citygrid_api-0.0.7
- old
+ new
@@ -11,12 +11,12 @@
request_and_handle :post,
"#{base_uri}/#{endpoint}/upload",
:body => {"mutateOperationListResource" => [
{
"operand" => {
- "image_type" => type,
- "image_name" => name,
- "image_format" => format,
+ "imageType" => type,
+ "imageName" => name,
+ "imageFormat" => format,
"image" => image_data
},
"operator" => "ADD",
"userId" => user_id
}
\ No newline at end of file