Sha256: 9e9881f88880528c6b259d17a847a021438b1fb835f0e83b70d485614340342c
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
# typed: strict # frozen_string_literal: true module LunchMoney # https://lunchmoney.dev/#data-object class Data < LunchMoney::DataObject # API object reference documentation: https://lunchmoney.dev/#data-object sig { returns(T.nilable(Integer)) } attr_accessor :num_transactions sig { returns(T.nilable(Number)) } attr_accessor :budget_amount, :budget_to_base, :spending_to_base sig { returns(T.nilable(String)) } attr_accessor :budget_currency sig { returns(T.nilable(T::Boolean)) } attr_accessor :is_automated sig do params( spending_to_base: T.nilable(Number), num_transactions: T.nilable(Integer), budget_amount: T.nilable(Number), budget_currency: T.nilable(String), budget_to_base: T.nilable(Number), is_automated: T.nilable(T::Boolean), ).void end def initialize(spending_to_base: nil, num_transactions: nil, budget_amount: nil, budget_currency: nil, budget_to_base: nil, is_automated: nil) super() @budget_amount = budget_amount @budget_currency = budget_currency @budget_to_base = budget_to_base @spending_to_base = spending_to_base @num_transactions = num_transactions @is_automated = is_automated end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lunchmoney-1.0.0 | lib/lunchmoney/budget/data.rb |
lunchmoney-0.10.0 | lib/lunchmoney/budget/data.rb |