Class: Rippler::Line

Inherits:
OpenStruct
  • Object
show all
Includes:
Utils
Defined in:
lib/rippler/line.rb

Overview

Line is a relationship between 2 Ripple accounts. It may have limit and balance.

Constant Summary

Constants included from Utils

Utils::RIPPLE_TIME_OFFSET

Instance Method Summary collapse

Methods included from Utils

#Account, #Money, #Offer, #Time

Instance Method Details

#to_sObject



6
7
8
# File 'lib/rippler/line.rb', line 6

def to_s
  "Account: #{Account()} balance: #{balance}/#{currency}, limits: #{limit_peer}/#{limit}"
end