gameball 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ba875c89a38d869e418a5633e7971aa0af4bcb549c7805f0ccf3a87f975b4be
4
- data.tar.gz: 54e13a38d1a96b88ce4d593e1825d83b3b75523427447cc3d22c100b4d2a4fba
3
+ metadata.gz: 945ece0f84627850b3f6e835735255a844299842aac4d14f1f1d2af138c0e5d3
4
+ data.tar.gz: 15f2ed41e887acdb91df9fcc8d4caf863ed6cf0267107f2935d2c27cfea166a9
5
5
  SHA512:
6
- metadata.gz: d6e8ec8fa126bbbf8b96520af518397af909be3302ea3c0b09a7a8e415662da09478564de793d0a57fa94b19b9ae7c59c3354d961f7a0956a34b61a4896c5ff5
7
- data.tar.gz: 97a487d56517f4e84046ded950ae2efe5559e8ba612333246c31e43ebfd1dc17bc34db6605e18b3afb460728ca94311e28e7dbd84ad044d3e102dba6227dfd59
6
+ metadata.gz: 03f352c0c476f497853d19e01b29f5e8a53144bd948a348ec9114b0155e208f12c809943a7378bb3a4ed6d81e230a863202255f2a52c726fe87b0f37a04b429d
7
+ data.tar.gz: 42836bcb25892e4c15ebecae65b3db9b7e425c854afd01c82af0a22f99779163b2e4427903518f2be4855e41bb1956f81cf5eccfebf2ef8ae8d7fa3838380618
@@ -1,3 +1,3 @@
1
1
  module Gameball
2
- VERSION = "2.1.3" # Version of the SDK
2
+ VERSION = "2.1.4" # Version of the SDK
3
3
  end
data/lib/gameball.rb CHANGED
@@ -22,7 +22,7 @@ require_relative "./gameball/models/configurations"
22
22
  require_relative "./gameball/exceptions/gameballException"
23
23
 
24
24
  module Gameball
25
- @api_base = "https://api.dev.gameball.app/"
25
+ @api_base = "https://api.gameball.co/"
26
26
  @max_retries = 1
27
27
  @read_timeout = 60
28
28
  @keep_alive_timeout = 30
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameball
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alsouidan
@@ -76,7 +76,6 @@ files:
76
76
  - lib/gameball/utils/request.rb
77
77
  - lib/gameball/utils/validation.rb
78
78
  - lib/gameball/version.rb
79
- - test.rb
80
79
  homepage: https://www.gameball.co/
81
80
  licenses:
82
81
  - MIT
data/test.rb DELETED
@@ -1,46 +0,0 @@
1
- require "./lib/gameball"
2
- Gameball.api_key="184be486ad124379a8d1bf6dbe59cd8a"
3
- Gameball.transaction_key="5cd1cb2bef9f475c85e8d2a6edd85895"
4
- Gameball.api_version="v3.0"
5
- res=Gameball::Order.place_order({
6
- playerUniqueId:"player45126",
7
- orderId: "6253e0123b",
8
- totalPrice: "100",
9
- totalPaid: "90",
10
- totalDiscount: "0",
11
- totalShipping: "0",
12
- totalTax: "0",
13
- lineItems:[
14
- {
15
- productId:"197765",
16
- tag: ["VIP"],
17
- category: [
18
- "natural",
19
- "cosmetics"
20
- ],
21
- weight: "20",
22
- vendor: "nike",
23
- collection: ["14313", "4343"],
24
- },
25
- {
26
- productId:"875511",
27
- title: "XPS-15s",
28
- category: [
29
- "electronics"
30
- ],
31
- vendor: "Dell"
32
- }
33
- ],
34
- discountCodes: [
35
- "AU7X-8Q7L",
36
- "BY3V-22GK"
37
- ],
38
- extra: {
39
- paymentMethod: "credit card",
40
- billingAddress: "Alabama"
41
- },
42
- redeemedAmount: 20,
43
- holdReference: nil,
44
- guest: false
45
- })
46
- puts res.body