Skip to content

Instantly share code, notes, and snippets.

@brunokoga
Last active August 29, 2015 14:03
Show Gist options
  • Save brunokoga/14dd6110b27c5c4a4f40 to your computer and use it in GitHub Desktop.
Save brunokoga/14dd6110b27c5c4a4f40 to your computer and use it in GitHub Desktop.
//RECEBO:
{
exception = {
class = RecordNotFound;
message = "Couldn't find GsfsRetail::Organization without an ID";
};
}
//ENVIO:
{
sync = {
create = (
);
update = (
{
"addresses_attributes" = (
{
complement = complement;
neighborhood = Circle;
number = 4;
"street_address" = Warner;
"zip_code" = 83795273;
}
);
"base_organization_attributes" = {
"district_ids" = (
2
);
email = "[email protected]";
id = 125;
name = Yamiaaaaa;
phone1 = "(43)0 9611-2482";
phone2 = "(10)6 5074-8490";
website = "gigashots.gov";
};
cnpj = 30347623000104;
"corporate_name" = Dabfeed;
}
);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment