Class: TxCatcher::Address

Inherits:
Sequel::Model
  • Object
show all
Defined in:
lib/txcatcher/models/address.rb

Instance Method Summary collapse

Instance Method Details

#received_in_btcObject



6
7
8
# File 'lib/txcatcher/models/address.rb', line 6

def received_in_btc
  CryptoUnit.new(Config["currency"], self.received, from_unit: :primary).to_standart
end