struct

Finfry::BudgetChange

Inherits JSON::Serializable < Struct < Value < Object

One budget value before a changeset altered it. previous is nil when the account had no budget (so undo removes the key rather than restoring a value).

Constructors

new(account : String, previous : Int64 | Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

account
Source
account=(account : String)
Source
previous
Source
previous=(previous : Int64 | Nil)
Source