luno 0.2.8 → 0.2.9

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: 741cc36b2b40ba8f2113f2fb41654b00a517898c6f79edfe070b279c36246994
4
- data.tar.gz: 113aaa7447c3320afde4d7c5a0d8a1a1c248efbfe0de7f27d228fe40a13e42f8
3
+ metadata.gz: 19c346b6ae99d5fde5d1753b1d1effb863ab408b29c8b6ec159d1faffff72ca4
4
+ data.tar.gz: 6e5d1111e01966c12d68f539aa783a9264d02b7c75a6262d0aee065876e334e9
5
5
  SHA512:
6
- metadata.gz: 89633b98f67bf14edd4fa9005f740a8cf0d159c32586001cbe338d7c8407bee57b4d2c9211295881eaa6a136b190ad5dde037e79059908ab905f1deeae60cc59
7
- data.tar.gz: 7d07c10654c48ac214ea9026143dfa55c63e993823a79e0ab8675b72f46f3272cc2cd755eeccd1f98831520e82e56b2ed67ccf94d126a0216b6897bef08f61b1
6
+ metadata.gz: 683fcd08ec222b266680e9f878f035f39ac42097b8427b699596bf020171281b683351ce7d63d9ec58bc2a89153c20db1cbc7449bc9f5f03cb8305b9904d24f5
7
+ data.tar.gz: 1a4a47b6e22620398335506bd275ad1e30b39972021a7cd1ce596242e2aa6c34e9eda86c0ee0d66bfabb95fa260a4a16c15fa132429ae8cf2ea81787d538d4ea
data/lib/luno/orders.rb CHANGED
@@ -40,9 +40,9 @@ module Luno
40
40
  ttl: ttl
41
41
  }
42
42
 
43
- params.merge({ counter_volume: counter_volume }) if counter_volume
44
- params.merge({ base_volume: base_volume }) if base_volume
45
- params.merge({ client_order_id: client_order_id }) if client_order_id
43
+ params = params.merge({ counter_volume: counter_volume }) if counter_volume
44
+ params = params.merge({ base_volume: base_volume }) if base_volume
45
+ params = params.merge({ client_order_id: client_order_id }) if client_order_id
46
46
 
47
47
  authorise_and_send(http_method: :post, path: path, params: params)
48
48
  end
@@ -73,12 +73,12 @@ module Luno
73
73
  ttl: ttl
74
74
  }
75
75
 
76
- params.merge({ post_only: post_only }) if post_only
77
- params.merge({ stop_price: stop_price }) if stop_price
78
- params.merge({ stop_direction: stop_direction }) if stop_direction
79
- params.merge({ base_account_id: base_account_id }) if base_account_id
80
- params.merge({ counter_account_id: counter_account_id }) if counter_account_id
81
- params.merge({ client_order_id: client_order_id }) if client_order_id
76
+ params = params.merge({ post_only: post_only }) if post_only
77
+ params = params.merge({ stop_price: stop_price }) if stop_price
78
+ params = params.merge({ stop_direction: stop_direction }) if stop_direction
79
+ params = params.merge({ base_account_id: base_account_id }) if base_account_id
80
+ params = params.merge({ counter_account_id: counter_account_id }) if counter_account_id
81
+ params = params.merge({ client_order_id: client_order_id }) if client_order_id
82
82
 
83
83
  authorise_and_send(http_method: :post, path: path, params: params)
84
84
  end
data/lib/luno/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Luno
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-15 00:00:00.000000000 Z
11
+ date: 2021-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty