Sha256: 19085d29f94de3b2cdcb79299ae901c49326b7e938c590304b1ae24b5e3e669c

Contents?: true

Size: 482 Bytes

Versions: 9

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true
class NanoRpc::Accounts
  include NanoRpc::AccountsHelper
  include NanoRpc::AccountsMethods
  include NanoRpc::Proxy

  attr_reader :addresses

  def initialize(addresses = nil, opts = {})
    unless addresses.is_a?(Array)
      raise NanoRpc::MissingParameters,
            'Missing argument: addresses (str[])'
    end

    @addresses = addresses
    super(opts)
  end

  def inspect
    "#{inspect_prefix}, @addresses=\"#{@addresses}\">"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
nano_rpc-0.26.0 lib/nano_rpc/accounts.rb
nano_rpc-0.25.0 lib/nano_rpc/accounts.rb
nano_rpc-0.24.0 lib/nano_rpc/proxies/accounts.rb
nano_rpc-0.23.0 lib/nano_rpc/proxies/accounts.rb
nano_rpc-0.22.0 lib/nano_rpc/proxies/accounts.rb
nano_rpc-0.21.0 lib/nano_rpc/proxies/accounts.rb
nano_rpc-0.20.0 lib/nano_rpc/proxies/accounts.rb
nano_rpc-0.19.0 lib/nano_rpc/proxies/accounts.rb
nano_rpc-0.18.0 lib/nano_rpc/proxies/accounts.rb