stub_hub_api 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stub_hub_api.rb +0 -72
- data/lib/stub_hub_api/fulfillment.rb +1 -1
- data/lib/stub_hub_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72ef50712ef118c0f6dcd17a86f7d12251891647
|
4
|
+
data.tar.gz: 486523aab32ae62c8ec6929c1809af7a6b58a7ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88ebad0394cc38d935fd0f1526af156a66555016c008f636351548263be2f3fd9bba138ebbae38b96a0ff05ef89892cccd0ba03bb32d6266fba76fdf08348a36
|
7
|
+
data.tar.gz: 8d8ab96ee01cf2cb632861b31eb7e5795b8adbdc368e5edecece81177350e7b14ab37d1a0c9b655d7424c284afb105ce3d0b48091f9dd1d065440b8aefe582cb
|
data/lib/stub_hub_api.rb
CHANGED
@@ -21,75 +21,3 @@ require_relative 'stub_hub_api/alert'
|
|
21
21
|
|
22
22
|
|
23
23
|
module StubHubApi;end
|
24
|
-
#
|
25
|
-
# data = {:eventId=>"103765980",
|
26
|
-
# :isElectronicDelivery=>true,
|
27
|
-
# :pricePerProduct=>{:amount=>"559.98", :currency=>"USD"},
|
28
|
-
# :inhandDate=>"2018-11-07T09:59:56Z",
|
29
|
-
# :section=>"Parterre Center",
|
30
|
-
# :products=>
|
31
|
-
# [{:fullfillmentArtifact=>"99000002000071965129",
|
32
|
-
# :productType=>"ticket",
|
33
|
-
# :row=>"U ",
|
34
|
-
# :seat=>117,
|
35
|
-
# :operation=>"ADD"},
|
36
|
-
# {:fullfillmentArtifact=>"99000002000071965128",
|
37
|
-
# :productType=>"ticket",
|
38
|
-
# :row=>"U ",
|
39
|
-
# :seat=>118,
|
40
|
-
# :operation=>"ADD"},
|
41
|
-
# {:fullfillmentArtifact=>"99000002000071965127",
|
42
|
-
# :productType=>"ticket",
|
43
|
-
# :row=>"U ",
|
44
|
-
# :seat=>119,
|
45
|
-
# :operation=>"ADD"},
|
46
|
-
# {:fullfillmentArtifact=>"99000002000071965126",
|
47
|
-
# :productType=>"ticket",
|
48
|
-
# :row=>"U ",
|
49
|
-
# :seat=>120,
|
50
|
-
# :operation=>"ADD"}],
|
51
|
-
# :splitOption=>"MULTIPLES",
|
52
|
-
# :splitQuantity=>"1",
|
53
|
-
# :externalListingId=>359710}
|
54
|
-
#
|
55
|
-
# # c = StubHubApi::Listing.new(token: '0d85c364-10fb-3ee8-a41f-c5bf0c2ad7eb', sandbox: false)
|
56
|
-
# # r = c.create(data)
|
57
|
-
# # puts r.inspect
|
58
|
-
# # exit
|
59
|
-
#
|
60
|
-
# #1380812233
|
61
|
-
#
|
62
|
-
# # sleep(5)
|
63
|
-
# # puts "uploading...."
|
64
|
-
# cc = StubHubApi::Fulfillment.new(token: '0d85c364-10fb-3ee8-a41f-c5bf0c2ad7eb', sandbox: false)
|
65
|
-
#
|
66
|
-
# options = {
|
67
|
-
# :listing=>{
|
68
|
-
# :tickets=>[
|
69
|
-
# {:row=>"U", :seat=>"117", :name=>"17"},
|
70
|
-
# {:row=>"U", :seat=>"118", :name=>"18"},
|
71
|
-
# {:row=>"U", :seat=>"119", :name=>"19"},
|
72
|
-
# {:row=>"U", :seat=>"120", :name=>"20"}
|
73
|
-
# ]
|
74
|
-
# }
|
75
|
-
# }
|
76
|
-
# files = [
|
77
|
-
# {file_name: '17', file: '/Users/chebyte/rails/neuro/apis/stub_hub_api/lib/17.pdf'},
|
78
|
-
# {file_name: '18', file: '/Users/chebyte/rails/neuro/apis/stub_hub_api/lib/18.pdf'},
|
79
|
-
# {file_name: '19', file: '/Users/chebyte/rails/neuro/apis/stub_hub_api/lib/19.pdf'},
|
80
|
-
# {file_name: '20', file: '/Users/chebyte/rails/neuro/apis/stub_hub_api/lib/20.pdf'}
|
81
|
-
# ]
|
82
|
-
#
|
83
|
-
#
|
84
|
-
# r = cc.preload_pdf_json("1382617308", options, files)
|
85
|
-
#
|
86
|
-
# puts r.inspect
|
87
|
-
# exit
|
88
|
-
#
|
89
|
-
# #
|
90
|
-
# c = StubHubApi::Listing.new(token: '0d85c364-10fb-3ee8-a41f-c5bf0c2ad7eb', sandbox: false)
|
91
|
-
#
|
92
|
-
#
|
93
|
-
# r = c.delete('1382617308')
|
94
|
-
#
|
95
|
-
# puts r.inspect
|
data/lib/stub_hub_api/version.rb
CHANGED