Class: Peatio::Blockchain::UnavailableAddressBalanceError

Inherits:
Error
  • Object
show all
Defined in:
lib/peatio/blockchain/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(address) ⇒ UnavailableAddressBalanceError

Returns a new instance of UnavailableAddressBalanceError.



28
29
30
# File 'lib/peatio/blockchain/error.rb', line 28

def initialize(address)
  @address = address
end

Instance Method Details

#messageObject



32
33
34
# File 'lib/peatio/blockchain/error.rb', line 32

def message
  "Unable to load #{@address} balance"
end