Ver código fonte

Added new lines to JSON resoucres

Tyler King 9 anos atrás
pai
commit
5f9527751f

+ 1 - 1
lib/shopify_api/resources/discount.rb

@@ -8,4 +8,4 @@ module ShopifyAPI
       load_attributes_from_response(post(:enable))
     end
   end
-end
+end

+ 1 - 1
test/fixtures/discount.json

@@ -14,4 +14,4 @@
     "applies_to_resource": null,
     "times_used": 1
   }
-}
+}

+ 1 - 1
test/fixtures/discount_disabled.json

@@ -14,4 +14,4 @@
     "applies_to_resource": null,
     "times_used": 1
   }
-}
+}

+ 1 - 1
test/fixtures/discounts.json

@@ -31,4 +31,4 @@
       "times_used": 0
     }
   ]
-}
+}