Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Forked from krzysztofbialek/cache_example.rb
Created October 25, 2022 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shopifypartners/0c1653b78db3556d0be893771e8037d9 to your computer and use it in GitHub Desktop.
Save shopifypartners/0c1653b78db3556d0be893771e8037d9 to your computer and use it in GitHub Desktop.
Cache example for Shipping Applications development good practices
{
destination_address: {
country_code: "CA",
province_code: "QC",
city: "Montreal",
address1: "address 1",
address2: "address 2",
address3: "address 3",
postal_code: "K2K2K2"
},
origin_address: {
country_code: "CA",
province_code: "ON",
city: "Toronto",
address1: "address 1",
address2: "address 2",
address3: "address 3",
postal_code: "C3C3C3"
},
items: [
{
id: 1,
name: 'item1',
weight: 1
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment