lib/zold/score.rb
# Default strength for the entire system, in production mode.
Default strength for the entire system, in production mode.
Default strength for the entire system in production mode .
def to_h
      {
        value: value,
        host: host,
        port: port,
        invoice: invoice,
        time: time.utc.iso8601,
        suffixes: suffixes,
        strength: strength,
        hash: value.zero? ? nil : hash,
        expired: expired?,
        valid: valid?,
        age: (age / 60).round,
        created: created.utc.iso8601
      }
    end
def to_h { value : value , host : host , port : port , invoice : invoice , time : time . utc . iso8601 , suffixes : suffixes , strength : strength , hash : value . zero? ? nil : hash , expired : expired? , valid : valid? , age : ( age / 60 ) . round , created : created . utc . iso8601 } end
Default strength for the entire system, in production mode.
Default strength for the entire system in production mode .