Sha256: 58c3a0f5f635ec37553f27052383675cc35d9eeec9baffd8f438edf7328f428b

Contents?: true

Size: 183 Bytes

Versions: 21

Compression:

Stored size: 183 Bytes

Contents

module TxCatcher

  class Address < Sequel::Model
    one_to_many :deposits

    def received_in_btc
      Satoshi.new(self.received, from_unit: :satoshi).to_btc
    end

  end


end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
txcatcher-0.1.82 lib/txcatcher/models/address.rb
txcatcher-0.1.81 lib/txcatcher/models/address.rb
txcatcher-0.1.80 lib/txcatcher/models/address.rb
txcatcher-0.1.79 lib/txcatcher/models/address.rb
txcatcher-0.1.78 lib/txcatcher/models/address.rb
txcatcher-0.1.77 lib/txcatcher/models/address.rb
txcatcher-0.1.76 lib/txcatcher/models/address.rb
txcatcher-0.1.75 lib/txcatcher/models/address.rb
txcatcher-0.1.74 lib/txcatcher/models/address.rb
txcatcher-0.1.73 lib/txcatcher/models/address.rb
txcatcher-0.1.72 lib/txcatcher/models/address.rb
txcatcher-0.1.8 lib/txcatcher/models/address.rb
txcatcher-0.1.71 lib/txcatcher/models/address.rb
txcatcher-0.1.7 lib/txcatcher/models/address.rb
txcatcher-0.1.6 lib/txcatcher/models/address.rb
txcatcher-0.1.5 lib/txcatcher/models/address.rb
txcatcher-0.1.4 lib/txcatcher/models/address.rb
txcatcher-0.1.3 lib/txcatcher/models/address.rb
txcatcher-0.1.2 lib/txcatcher/models/address.rb
txcatcher-0.1.1 lib/txcatcher/models/address.rb