Module: Zold
- Defined in:
- lib/zold/score.rb,
ext/score_suffix/ScoreSuffix.cpp
Overview
Zold score.
To calculate a score you first have to create a zero score and then call its next()
method:
first = Score.new(host: 'example.org', invoice: 'PREFIX@0000000000000000')
second = first.next
More information about the algorithm you can find in the White Paper.
- Author
-
Yegor Bugayenko ([email protected])
- Copyright
-
Copyright © 2018 Yegor Bugayenko
- License
-
MIT
Defined Under Namespace
Classes: Score, ScoreSuffix