Sha256: b690013a64abae698b13128dc4e622a2e86fb35b50399203969357cc2e2bde32
Contents?: true
Size: 712 Bytes
Versions: 2
Compression:
Stored size: 712 Bytes
Contents
# frozen_string_literal: true class Nano::Accounts include Nano::Proxy include Nano::AccountsProxyHelper attr_accessor :addresses def initialize(addresses = nil, opts = {}) unless addresses.is_a?(Array) raise Nano::MissingParameters, 'Missing argument: addresses (str[])' end @addresses = addresses super(opts) end proxy_params accounts: :addresses proxy_method :account_move, required: %i[wallet source] proxy_method :accounts_balances proxy_method :accounts_create, required: %i[wallet count], optional: %i[work] proxy_method :accounts_frontiers proxy_method :accounts_pending, required: %i[count], optional: %i[threshold source] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nano_rpc-0.3.0 | lib/nano_rpc/proxies/accounts.rb |
nano_rpc-0.2.0 | lib/nano/proxies/accounts.rb |