razrbit 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/razrbit/version.rb +1 -1
- data/lib/razrbit/wallet.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbc2cd59f3f5c0b28638eb28b4e7bfae9e7f773a
|
4
|
+
data.tar.gz: f79d9afddf96aa58acaf81ce6835dcee22931f76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b175c56fd2b2358f201d1034bded931f1e8b2650eedcc93fbc9303aaa6ae01ad7b1e196a1b61ce9b6e23c4ce778a6fd2dfa444201e9fae31f5275dea4895288
|
7
|
+
data.tar.gz: 61c4ab49f1dd4e2fca851c04f867e30d41b841a99401a42558ac2c4e6e0e32a7d8f7969e1658b4ee6fcf43bd7ac4cf71c53d2f71c7884c1d051eb0b610a5e239
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<img src="http://luxstack.com/
|
1
|
+
<img src="http://cdn.luxstack.com/assets/razrbit-github-banner-dark-beta.png" style="width:100%"/>
|
2
2
|
|
3
3
|
Official SDKs:
|
4
4
|
[Android](https://github.com/LUXSTACK/razrbit-sdk-android) |
|
@@ -9,7 +9,7 @@ Ruby
|
|
9
9
|
|
10
10
|
**[Razrbit](https://www.razrbit.com) is a powerful API that helps developers quickly build and manage Bitcoin applications without creating and maintaining complicated block chain infrastructure.**
|
11
11
|
|
12
|
-
# Razrbit SDK for Ruby
|
12
|
+
# Razrbit SDK for Ruby (Beta)
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
@@ -30,7 +30,7 @@ response = wallet.create_new_address
|
|
30
30
|
|
31
31
|
response = wallet.send_amount(from_address_private_key: '',
|
32
32
|
to_address: '',
|
33
|
-
|
33
|
+
amount: 0)
|
34
34
|
|
35
35
|
response = wallet.balance_from_address(address: '')
|
36
36
|
|
data/lib/razrbit/version.rb
CHANGED
data/lib/razrbit/wallet.rb
CHANGED
@@ -7,13 +7,13 @@ module Razrbit
|
|
7
7
|
post(uri)
|
8
8
|
end
|
9
9
|
|
10
|
-
def send_amount(from_address_private_key: nil, to_address: nil,
|
10
|
+
def send_amount(from_address_private_key: nil, to_address: nil, amount: nil)
|
11
11
|
uri = create_uri 'wallet/sendAmount'
|
12
12
|
|
13
13
|
form_data = {
|
14
14
|
'fromAddressPrivateKey' => from_address_private_key,
|
15
15
|
'toAddress' => to_address,
|
16
|
-
'
|
16
|
+
'amount' => amount
|
17
17
|
}
|
18
18
|
|
19
19
|
post(uri, form_data)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: razrbit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LUXSTACK
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|