From 3a960d4d724aeebeda5598b9268b239d17fda96b Mon Sep 17 00:00:00 2001 From: Tonksthebear Date: Mon, 23 Sep 2024 11:28:52 -0700 Subject: [PATCH] Remove optional from parameters --- modules/mobile/app/models/mobile/v0/debt.rb | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/mobile/app/models/mobile/v0/debt.rb b/modules/mobile/app/models/mobile/v0/debt.rb index ab02abc934..bf25937eb4 100644 --- a/modules/mobile/app/models/mobile/v0/debt.rb +++ b/modules/mobile/app/models/mobile/v0/debt.rb @@ -6,17 +6,17 @@ module Mobile module V0 class Debt < Common::Resource attribute :id, Types::String - attribute :file_number, Types::String.optional.default(nil) - attribute :payee_number, Types::String.optional.default(nil) - attribute :person_entitled, Types::String.optional.default(nil) - attribute :deduction_code, Types::String.optional.default(nil) - attribute :benefit_type, Types::String.optional.default(nil) - attribute :diary_code, Types::String.optional.default(nil) - attribute :diary_code_description, Types::String.optional.default(nil) - attribute :amount_overpaid, Types::Float.optional.default(nil) - attribute :amount_withheld, Types::Float.optional.default(nil) - attribute :original_ar, Types::Float.optional.default(nil) - attribute :current_ar, Types::Float.optional.default(nil) + attribute :file_number, Types::String + attribute :payee_number, Types::String + attribute :person_entitled, Types::String + attribute :deduction_code, Types::String + attribute :benefit_type, Types::String + attribute :diary_code, Types::String + attribute :diary_code_description, Types::String + attribute :amount_overpaid, Types::Float + attribute :amount_withheld, Types::Float + attribute :original_ar, Types::Float + attribute :current_ar, Types::Float attribute :debt_history, Types::Array do attribute :date, Types::Date attribute :letter_code, Types::String