gameball 2.0.1 → 3.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dd0bd2cb33b40d5304d30000362d3068ceb983448e87cb36ccab460db579094
4
- data.tar.gz: 6c0936a0568b8f44c27b43156ea4161473a0a8145e9ee46a05df338826883f17
3
+ metadata.gz: be4efc05c1535767adbdd123cd2199da4c81c9b029ce5bb2b9197c17eda97edd
4
+ data.tar.gz: a598d4d148434b5d1ee11e980eda55bf9e3f171a283b778e5db75a7f1bfdf256
5
5
  SHA512:
6
- metadata.gz: db7f937f3375d252da17f111641c5b3e7e1ba2cec25e4bfcbde85185e8ebdef023f04918d3bb235686670d51b24f2feae2d816ea18b19db9c9165549e39be2ef
7
- data.tar.gz: d78ef1500580168e0ad048f6efa184490ff744f1ccbf8126039c7c5224b7a7fc5ced09e73f45e22be9738fb047cc4951f58a37e60e90a917c623693012664367
6
+ metadata.gz: ce55288de6b2f042aad44fcae3baa44a1bf8104a48eaa38ff50d0dd8fbb8177feaad03d6e39b0266a501d7755c7e2a0842123ea441d2e277f5673979891e80c2
7
+ data.tar.gz: 2341cadac414264bbe4f5c199c4ed419b12e995ffd7e8bbdb3775847bb0209e8cf5b6e7d9751fe5b5eba23ac783652820a20da8e9290118c9f972481041b9cd6
data/README.md CHANGED
@@ -188,7 +188,7 @@ Gameball::Transaction.refund({
188
188
  playerUniqueId:"player456",
189
189
  transactionId:"1234567890",
190
190
  reverseTransactionId:"234567891",
191
- amount: null
191
+ amount: nil
192
192
  }
193
193
  )
194
194
  ```
@@ -247,7 +247,7 @@ Gameball::Order.place_order({
247
247
  productId:"875511",
248
248
  title: "XPS-15s",
249
249
  category: [
250
- electronics
250
+ "electronics"
251
251
  ],
252
252
  vendor: "Dell"
253
253
  }
@@ -261,7 +261,7 @@ Gameball::Order.place_order({
261
261
  billingAddress: "Alabama"
262
262
  },
263
263
  redeemedAmount: 20,
264
- holdReference: null,
264
+ holdReference: nil,
265
265
  guest: false
266
266
  })
267
267
  ```
@@ -12,7 +12,6 @@ module Gameball
12
12
  if params != {}
13
13
  uri.query=URI.encode_www_form(params)
14
14
  end
15
- puts uri
16
15
  https = Net::HTTP.new(uri.host, uri.port)
17
16
  https.max_retries = Gameball.max_retries
18
17
  https.read_timeout = Gameball.read_timeout
@@ -1,3 +1,3 @@
1
1
  module Gameball
2
- VERSION = "2.0.1" # Version of the SDK
2
+ VERSION = "3.1.4" # Version of the SDK
3
3
  end
data/lib/gameball.rb CHANGED
@@ -26,7 +26,7 @@ module Gameball
26
26
  @max_retries = 1
27
27
  @read_timeout = 60
28
28
  @keep_alive_timeout = 30
29
- @api_version = "v2.0"
29
+ @api_version = "v3.0"
30
30
  class << self
31
31
  attr_accessor :api_key
32
32
  attr_accessor :api_version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameball
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alsouidan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2022-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake