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 +4 -4
- data/lib/luno/orders.rb +9 -9
- data/lib/luno/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19c346b6ae99d5fde5d1753b1d1effb863ab408b29c8b6ec159d1faffff72ca4
|
4
|
+
data.tar.gz: 6e5d1111e01966c12d68f539aa783a9264d02b7c75a6262d0aee065876e334e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
11
|
+
date: 2021-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|