cardano_wallet 0.3.23 → 0.3.24

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: 124026aa429ad0ab128972a67f7611f7e2f9f3fb4b20b5fe2bf1dc8597c51f2e
4
- data.tar.gz: 9bb4b8a26a9dc30ffce8174a1c295e55b09e140dfbe56d77812ab0448266e634
3
+ metadata.gz: 35cd30306a63c77b58078620e3f2ba87d946d02aab3296f7fc45065fbcf39895
4
+ data.tar.gz: ac4cb6ce2d4cf45c2ab37d2d202448ef9db48c0329feca3f60f301bfd95dc5cc
5
5
  SHA512:
6
- metadata.gz: 220a1115e770c1470398fe6bb0757f673b814c673c638ea171d41c028b7ea1ee20d5a9b628b1f084ba25b51ab62cbe7b8dcb4b1287e613695c96206dd9e350eb
7
- data.tar.gz: 96cc892b39c4631b22394d578387f2a6477328475bbea7ebfbd2e5c531be48326b864e90ba8417cef5c2c2e8e3fc29436ac66e3b7131737395e94dc8084f5b5a
6
+ metadata.gz: 770fc6e86c6cf4677bd33bcfe2230515bbfd09e62829fce990219e92ff56a5d8f26160d706c60f333c6b8771b37ab0b204f1a477d4180097dba71198fa06e547
7
+ data.tar.gz: 4bce9526e3daa72f811a6bbc3d16311076c59ce600ff275fdc0b25a3c4484d21e2afe1242910ae9594033d407825bf5f7424b22e7cd7385892bc0abebe9577e3
@@ -31,6 +31,19 @@ module CardanoWallet
31
31
  def settings
32
32
  Settings.new @opt
33
33
  end
34
+
35
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Node
36
+ def node
37
+ Node.new @opt
38
+ end
39
+ end
40
+
41
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Node
42
+ class Node < Base
43
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Node/paths/~1blocks~1latest~1header/get
44
+ def block_header
45
+ self.class.get('/blocks/latest/header')
46
+ end
34
47
  end
35
48
 
36
49
  # API for Network
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CardanoWallet
4
- VERSION = '0.3.23'
4
+ VERSION = '0.3.24'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cardano_wallet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.23
4
+ version: 0.3.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Stachyra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-24 00:00:00.000000000 Z
11
+ date: 2022-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty