Skip to content

Commit

Permalink
Remove optional from parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonhoc committed Sep 23, 2024
1 parent 5ee9381 commit 3a960d4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions modules/mobile/app/models/mobile/v0/debt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a960d4

Please sign in to comment.