xrbp 0.2.4 → 0.2.5

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: 6fec9ee15614d0abffaa38be7a34f141f182f9f9f3fd960b5c4774b60e15d107
4
- data.tar.gz: deb0c06bbdbeb466f5199c0305da73a5b6b585855391b8d43f3dd9a362288b0f
3
+ metadata.gz: 90939e974e72207bd282c52c6b65e2ee3e6ceb6bd8564bf53b1b421aa0589b53
4
+ data.tar.gz: 86d68aefb3a468bf8d767dbf355e1499f0ff849d8833efea0069aa3c537aea2a
5
5
  SHA512:
6
- metadata.gz: cf082d2b4f86f154d7f35b04bafaaf394c80fa544098b788ec99892198f89a82fbcafbd70767970d4880f22e6fafa2618fc76d9ff9a6798dcde42c485b8bcad3
7
- data.tar.gz: 06dd26ad307554481178cf96a6e4476510b12e0a7da8e586e8b0113a5f511fea4e35ab970a28523e260a76ba5e99fa47180fbdbf4ee7dae91f4cfcb62d30c79c
6
+ metadata.gz: b105e3cddae3ee759b16434ef94571d861abb56d9c7008d3a3041dcdb9092262edf26bda522350b1d2c80bd92a29b3150b1d6f7407876242fe3e85650655a0b5
7
+ data.tar.gz: 1ad2b1d9c6ab0201cbccda42b18290b33cfc091ccae98944dcf80a2d2f5c616d6ea02111e7552d0fd14ceb5d21d689b7543ad41718c785e6d709203a6cae2658
@@ -1,3 +1,3 @@
1
1
  module XRBP
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end # module XRBP
@@ -5,21 +5,21 @@ module XRBP
5
5
  #
6
6
  # https://developers.ripple.com/ledger.html
7
7
  class Ledger < Command
8
- attr_accessor :id, :args
8
+ attr_accessor :ledger_index, :args
9
9
 
10
- def initialize(id=nil, args={})
11
- @id = id
10
+ def initialize(ledger_index=nil, args={})
11
+ @ledger_index = ledger_index
12
12
  @args = args
13
13
  super(to_h)
14
14
  end
15
15
 
16
- def id?
17
- !!id
16
+ def ledger_index?
17
+ !!ledger_index
18
18
  end
19
19
 
20
20
  def to_h
21
21
  h = args.merge(:command => :ledger)
22
- h['ledger_index'] = id if id?
22
+ h['ledger_index'] = ledger_index if ledger_index?
23
23
  return h
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xrbp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dev Null Productions
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-12 00:00:00.000000000 Z
11
+ date: 2020-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json