Sha256: bcfa6d6f15bbcf67146946ce2448c0e5533887b611093082b43b168cc6523545

Contents?: true

Size: 175 Bytes

Versions: 3

Compression:

Stored size: 175 Bytes

Contents

module BitShares
	class Wallet
		attr_accessor :amount, :asset
		def initialize hash
			@amount = hash['amount']
			@asset = BitShares::Asset[hash['asset_id']]
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bitsharesws-0.0.3 lib/bitshares/wallet.rb
bitsharesws-0.0.2 lib/bitshares/wallet.rb
bitsharesws-0.0.1 lib/bitshares/wallet.rb