vertpig 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vertpig/market.rb +2 -2
- data/lib/vertpig/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed1701ab78a33c1926220ffb4ce4e88c99450dd0
|
4
|
+
data.tar.gz: fa363c8efb249526256529384ffe5c644619b5d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4088c54edf1262ce25ae2212e09e355505e012e767365f951010dc930a859538d065424a2c5ef75808dcd82a22c025b18ee4f8efceeb2640ac84fd09cb804145
|
7
|
+
data.tar.gz: 137b116380a40b9022f9610764182ac2b3819b5835f9cb20201aef5a7ee303c95288bf4f6eb0bcc671f629a97b8902c1d447913a88f4c5954c2eb72d0296d57f
|
data/lib/vertpig/market.rb
CHANGED
@@ -22,8 +22,8 @@ module Vertpig
|
|
22
22
|
client.get('public/getmarkets').map{|data| new(data) }
|
23
23
|
end
|
24
24
|
|
25
|
-
def self.buylimit(market, quantity, rate)
|
26
|
-
new(market, client.get('/market/buylimit', market: market, quantity: quantity, rate: rate))
|
25
|
+
def self.buylimit(market, quantity, rate, type, postonly)
|
26
|
+
new(market, client.get('/market/buylimit', market: market, quantity: quantity, rate: rate, type: type, postonly: postonly))
|
27
27
|
end
|
28
28
|
|
29
29
|
private
|
data/lib/vertpig/version.rb
CHANGED