Class: Peatio::Blockchain::UnavailableAddressBalanceError
- Defined in:
- lib/peatio/blockchain/error.rb
Instance Method Summary collapse
-
#initialize(address) ⇒ UnavailableAddressBalanceError
constructor
A new instance of UnavailableAddressBalanceError.
- #message ⇒ Object
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
#message ⇒ Object
32 33 34 |
# File 'lib/peatio/blockchain/error.rb', line 32 def "Unable to load #{@address} balance" end |