Skip to content

Commit

Permalink
Merge pull request #55 from laurelandwolf/product-variation-resource
Browse files Browse the repository at this point in the history
product variation flag resource
  • Loading branch information
michaelgraham committed Feb 7, 2017
2 parents 23940c4 + 64c25fd commit a8ca86d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions __test__/sdk/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"referralUses",
"redeemable-instructions",
"rooms",
"product-variation-flags",
"shopping-list-items",
"shopping-cart-items",
"shopping-carts",
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ function api (config = {}) {
// uri: 'projects' <~~~~~~~~~~~ use that to override name
})

let productVariationFlags = makeResource({
type: 'product-variation-flags'
})

let designers = makeResource({
type: 'designers'
})
Expand Down Expand Up @@ -245,6 +249,7 @@ function api (config = {}) {
...medias,
...photos,
...portfolioImages,
...productVariationFlags,
...projects,
...purchaseRequests,
...quizResults,
Expand Down

0 comments on commit a8ca86d

Please sign in to comment.