cardmagic-etsy 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etsy.gemspec +1 -1
- data/lib/etsy/listing.rb +4 -0
- data/lib/etsy/transaction.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9327cd8dabfb0a88ec0635f3c09e226439ddf4888c66c6ec23efa73bb79e8fac
|
4
|
+
data.tar.gz: c44df1d148c1f3c93c41afd6b120c8b39f1481200eabba9c0ed819fe52deed10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52ee77b6f6dd92fd4e61b74758171c1a4e1babe62bb938d1ac3a05441a9e43b1ab10021488dfa7e28893fc24a204f9d840c13c0b98a99f6a0d839371e5e16e1e
|
7
|
+
data.tar.gz: 992b6aa09d8f22fb0b5b97b252e3d25ee4680f5db77f4229d89d7c9ca7cf731b5b2f1bca0b6422c2db6aabc2bb09b912fa0abe0094ee302b1b63671f1594e2a6
|
data/etsy.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.name = "cardmagic-etsy"
|
15
15
|
gem.require_paths = ["lib"]
|
16
|
-
gem.version = "0.3.
|
16
|
+
gem.version = "0.3.7"
|
17
17
|
gem.license = 'MIT'
|
18
18
|
|
19
19
|
gem.required_rubygems_version = Gem::Requirement.new(">= 0") if gem.respond_to? :required_rubygems_version=
|
data/lib/etsy/listing.rb
CHANGED
data/lib/etsy/transaction.rb
CHANGED
@@ -44,6 +44,10 @@ module Etsy
|
|
44
44
|
get_all("/users/#{user_id}/transactions", options)
|
45
45
|
end
|
46
46
|
|
47
|
+
def self.find_all_by_listing_id(listing_id, options = {})
|
48
|
+
get_all("/listings/#{listing_id}/transactions", options)
|
49
|
+
end
|
50
|
+
|
47
51
|
def self.find_all_by_receipt_id(receipt_id, options = {})
|
48
52
|
get_all("/receipts/#{receipt_id}/transactions", options)
|
49
53
|
end
|