Sha256: 34189cfade7845b26a5938c849a872918b6d26c878b8fb48a6d3867bb617a410

Contents?: true

Size: 281 Bytes

Versions: 4

Compression:

Stored size: 281 Bytes

Contents

module Bitshares

  class Account

    attr_reader :wallet, :name

    def initialize(wallet, name)
      @wallet = wallet
      @name = name
    end

    def method_missing(name, *args)
      Bitshares::Client::rpc.request('wallet_account_' + name.to_s, args)
    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bitshares-0.1.3.pre lib/bitshares/account.rb
bitshares-0.1.2.pre lib/bitshares/account.rb
bitshares-0.1.1.pre lib/bitshares/account.rb
bitshares-0.1.0.pre lib/bitshares/account.rb