Sha256: 7a87ca953f4e407c289d99b0ea0fc22964b4e2e7fb470c27ba1fadec5e945341
Contents?: true
Size: 175 Bytes
Versions: 3
Compression:
Stored size: 175 Bytes
Contents
module BitShares class Account attr_reader :id, :name def initialize h @id = h['id'][/\d*$/] @name = h['name'] @hash = h end def to_s() @name end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bitsharesws-0.0.3 | lib/bitshares/account.rb |
bitsharesws-0.0.2 | lib/bitshares/account.rb |
bitsharesws-0.0.1 | lib/bitshares/account.rb |