Sha256: dcef07a952d495b14a2e28dff00051d9dc84230b69579ef970c657470a419ffa
Contents?: true
Size: 419 Bytes
Versions: 9
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true class NanoRpc::Wallet include NanoRpc::Proxy include NanoRpc::WalletHelper include NanoRpc::WalletMethods attr_reader :id def initialize(id = nil, opts = {}) unless id.is_a?(String) raise NanoRpc::MissingParameters, 'Missing argument: id (str)' end @id = id super(opts) end def inspect "#{inspect_prefix}, @id=\"#{@id}\">" end end
Version data entries
9 entries across 9 versions & 1 rubygems