blockr-ruby 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 498b72dcb9ef9d4c1fea8a950d4b1f4cbafca8f1
4
- data.tar.gz: e4a081cc4c44e69354290945756a4b18a5acb81b
3
+ metadata.gz: 8bb94d82d2486b62312c294723419b1511960a2c
4
+ data.tar.gz: 32d4443f2bf7aa6fb5ce93e14a123df7e6ca0388
5
5
  SHA512:
6
- metadata.gz: f896be7fd5f6428c67d7db733adc25c5cbeebbecfe68206eee2712b95c86cb3e01ccda6c79c84ac8e7b0c0dc7c3d9b959cefe701479230c9d5f538846c854a97
7
- data.tar.gz: 4e08a583bebbfb4981eafcbc146c89b18b64b477e59723148e2cf219239615f634eb34beed682f31328dae8adfe9bb6dc6f1a783da5bdfeae9913840ef0fb142
6
+ metadata.gz: a30311e819287c7242e47235ce636a3d298f879dba86078949d0367f8134e8599318ff1eb97aafa092dd9f9a18412001c91d048016c472fe0e81f43d14b9c654
7
+ data.tar.gz: deaec2f1a2bae76fb4788c35d3391bdbca4a5f79827dff759a184484b4f02eea59c3af4b9657c918feb5d7dc387585343ec1ee38acf2ee658635a150a07beae0
@@ -31,6 +31,10 @@ module Blockr
31
31
  @connection.get("/tx/info/#{hash}")
32
32
  end
33
33
 
34
+ def raw_transaction(hash)
35
+ @connection.get("/tx/raw/#{hash}")
36
+ end
37
+
34
38
  def decode_transaction(hex)
35
39
  @connection.post('/tx/decode', hex: hex)
36
40
  end
@@ -1,3 +1,3 @@
1
1
  module Blockr
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blockr-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genaro Madrid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-07 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client