Sha256: c55d2bd297b133887f816e22c3956dcd16d9d5ec87f1b33914781e17d42fb29d
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
# typed: strict # frozen_string_literal: true module LunchMoney module Objects # https://lunchmoney.dev/#user-object class User < LunchMoney::Objects::Object sig { returns(Integer) } attr_accessor :user_id, :account_id sig { returns(String) } attr_accessor :user_name, :user_email, :budget_name sig { returns(T.nilable(String)) } attr_accessor :api_key_label sig do params( user_id: Integer, user_name: String, user_email: String, account_id: Integer, budget_name: String, primary_currency: String, api_key_label: T.nilable(String), ).void end def initialize(user_id:, user_name:, user_email:, account_id:, budget_name:, primary_currency:, api_key_label: nil) super() @user_id = user_id @user_name = user_name @user_email = user_email @account_id = account_id @budget_name = budget_name @primary_currency = primary_currency @api_key_label = api_key_label end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lunchmoney-1.4.0 | lib/lunchmoney/objects/user.rb |