bitnob 0.0.4 → 0.0.4.1

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: 6c921696b31559639029f934d68bc8c54fdcb994e390c4f90856cb1883d82967
4
- data.tar.gz: b8854e8dda9167b807fcb2d2ba29b84508451646414266d2e4780bf431e5414f
3
+ metadata.gz: c6d28bc5a313d2160381c923c2f68f9f06a9daff0619fad3e387e9e891f25f71
4
+ data.tar.gz: c6280703e12e93b292e91e7ab8501fe500f81128a7f68a6d9be63f5edca832e2
5
5
  SHA512:
6
- metadata.gz: 22de06a246bbfa6c0fc7f81734d10f65de2afb1c972fe5b513622ff1f8843d72fd2b706bfe14e286daa8be649511a355b102c7d26b511a59cdf248c8fe73a646
7
- data.tar.gz: 6c6b2551e34f453418ce7d83c42615da0dbfff5aa4eb85a4da9cf30f8f29e606a6da0a6b731214aa8166f366b07ea8d789fc5cc2664ae1f281dc82c8d5e426a2
6
+ metadata.gz: 900e7f5a80cc9e23b1d84c83d2bae31a1c15df2ddf75d735b365a0698a8b53fee50c4a5831864f000a92410d65f7d05701fb7da2b54801e044f6badf416f6eba
7
+ data.tar.gz: 0a0c9bf6bf7c36242f2120c49cd441127925646c184e094ffa9a0f91fdfe4adec9730f97d7e1425f5e2d29f83e7b137e99865a6e6dd8f0d0f710a4f2affb36a4
@@ -11,7 +11,7 @@ class Swap < Base
11
11
  # amount : int
12
12
 
13
13
  def swap_btc_usd(amount)
14
- data = { amount : amount }
14
+ data = { amount: amount }
15
15
  payload = data.to_json
16
16
 
17
17
  post_request("#{base_url}#{BaseEndpoints::ONCHAIN}/swap-bitcoin-usd", payload)
@@ -24,10 +24,11 @@ class Swap < Base
24
24
  # amount : int
25
25
 
26
26
  def swap_usd_btc(amount)
27
- data = { amount : amount }
27
+ data = { amount: amount }
28
28
  payload = data.to_json
29
29
 
30
30
  post_request("#{base_url}#{BaseEndpoints::ONCHAIN}/swap-usd-bitcoin", payload)
31
31
  end
32
-
32
+
33
+ end
33
34
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Bitnob
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.4.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitnob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bitnob