Class: Rippler::Line
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Rippler::Line
- 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
Instance Method Summary collapse
Methods included from Utils
#Account, #Money, #Offer, #Time
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/rippler/line.rb', line 6 def to_s "Account: #{Account(account)} balance: #{balance}/#{currency}, limits: #{limit_peer}/#{limit}" end |