stbaldricks 10.6.0 → 10.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stbaldricks/configuration.rb +1 -1
  3. data/lib/stbaldricks/entities/batch.rb +2 -2
  4. data/lib/stbaldricks/entities/challenge.rb +4 -4
  5. data/lib/stbaldricks/entities/challenger.rb +2 -2
  6. data/lib/stbaldricks/entities/challenger/model_type.rb +2 -0
  7. data/lib/stbaldricks/entities/contact.rb +1 -1
  8. data/lib/stbaldricks/entities/deduplicator_match.rb +5 -5
  9. data/lib/stbaldricks/entities/donation.rb +3 -3
  10. data/lib/stbaldricks/entities/donation/donor_type.rb +2 -0
  11. data/lib/stbaldricks/entities/donation/how_created.rb +2 -0
  12. data/lib/stbaldricks/entities/donation/payment_gateway.rb +2 -0
  13. data/lib/stbaldricks/entities/donation/payment_type.rb +2 -0
  14. data/lib/stbaldricks/entities/donation/promo_code.rb +2 -0
  15. data/lib/stbaldricks/entities/donation/recipient_type.rb +2 -0
  16. data/lib/stbaldricks/entities/donation/special_donation_type.rb +2 -0
  17. data/lib/stbaldricks/entities/donation/status.rb +2 -0
  18. data/lib/stbaldricks/entities/donation/submitter_type.rb +2 -0
  19. data/lib/stbaldricks/entities/event.rb +10 -10
  20. data/lib/stbaldricks/entities/event/fund_relationship_type.rb +2 -0
  21. data/lib/stbaldricks/entities/event/how_created.rb +2 -0
  22. data/lib/stbaldricks/entities/event/promo_code.rb +2 -0
  23. data/lib/stbaldricks/entities/event/status.rb +2 -0
  24. data/lib/stbaldricks/entities/event/sub_type.rb +2 -0
  25. data/lib/stbaldricks/entities/event/type.rb +2 -0
  26. data/lib/stbaldricks/entities/event_application/model_type.rb +2 -0
  27. data/lib/stbaldricks/entities/event_application/status.rb +2 -0
  28. data/lib/stbaldricks/entities/fundraiser.rb +20 -20
  29. data/lib/stbaldricks/entities/international_partner.rb +2 -2
  30. data/lib/stbaldricks/entities/kid.rb +62 -62
  31. data/lib/stbaldricks/entities/kid_honor.rb +4 -4
  32. data/lib/stbaldricks/entities/lib/address.rb +2 -2
  33. data/lib/stbaldricks/entities/lib/alternate_shipping_address.rb +2 -2
  34. data/lib/stbaldricks/entities/lib/email_address.rb +2 -2
  35. data/lib/stbaldricks/entities/lib/fundraising_page.rb +1 -1
  36. data/lib/stbaldricks/entities/lib/payment.rb +14 -14
  37. data/lib/stbaldricks/entities/lib/phone.rb +3 -3
  38. data/lib/stbaldricks/entities/lib/third_party_media.rb +2 -2
  39. data/lib/stbaldricks/entities/lib/top_level.rb +2 -2
  40. data/lib/stbaldricks/entities/memorial.rb +2 -2
  41. data/lib/stbaldricks/entities/message.rb +8 -8
  42. data/lib/stbaldricks/entities/organization.rb +21 -21
  43. data/lib/stbaldricks/entities/page.rb +2 -2
  44. data/lib/stbaldricks/entities/participant.rb +42 -42
  45. data/lib/stbaldricks/entities/person.rb +96 -96
  46. data/lib/stbaldricks/entities/photo.rb +25 -25
  47. data/lib/stbaldricks/entities/recurring_gift.rb +23 -18
  48. data/lib/stbaldricks/entities/search.rb +8 -8
  49. data/lib/stbaldricks/entities/shave_schedule.rb +2 -2
  50. data/lib/stbaldricks/entities/team.rb +14 -14
  51. data/lib/stbaldricks/entities/user.rb +7 -5
  52. data/lib/stbaldricks/enums/cancer_types.rb +2 -0
  53. data/lib/stbaldricks/enums/country.rb +2 -0
  54. data/lib/stbaldricks/enums/league_status.rb +2 -0
  55. data/lib/stbaldricks/enums/model_type.rb +2 -0
  56. data/lib/stbaldricks/enums/permission_model_type.rb +2 -0
  57. data/lib/stbaldricks/enums/province.rb +2 -0
  58. data/lib/stbaldricks/enums/state.rb +2 -0
  59. data/lib/stbaldricks/enums/top_level_category_type.rb +2 -0
  60. data/lib/stbaldricks/log.rb +2 -0
  61. data/lib/stbaldricks/patches/string.rb +1 -1
  62. data/lib/stbaldricks/version.rb +1 -1
  63. metadata +91 -91
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ea675b1d359942d0694800c9e8588275e83ef41a8e363e39a2d6aa4ef4a5a02
4
- data.tar.gz: 13a1140cc333d580dd7725e6acf598a840d3b1529fb41edddf3cccc59761df7e
3
+ metadata.gz: ab256ecd86407ab94c5b5db1722dcd3cbd7328b9c6a079b32cac600ba7ccdddc
4
+ data.tar.gz: 885415db57be269c6827bad227c60833ca5e505a468de1d2b508b6304bc59199
5
5
  SHA512:
6
- metadata.gz: c44585e4e05bd24ef4a976926995f409790707149d0298fcf3223febdf9219cf4ad774bd7213268cbe2b7d896393a4344d4f60f7cfd392cddbd1c8b895412830
7
- data.tar.gz: 400493e6ff586305caf3d53bf22fd79f6838515ddfbc4266b7530f9c584e9a11e9fa70e1d35fcb2e1e3518837a9649a3499847ea11060a8f277cfe01d4c72b17
6
+ metadata.gz: 26ad806bb9f4831fafd0a0c99919a716a21b1708b9b7f52c1803e6f72f9af53801bef1d35db36ce154677dd7c710ca1a70fbe148194f3bfb8f67933b88caeb55
7
+ data.tar.gz: c71e0044c1861707604367b8e9e6bf83f28b5bd6bc9a361a1f1ba26b53341fdf8316b92c19c3dfec00394c054a69f2349f8750636606028ab690c91a41cfc804
@@ -6,7 +6,7 @@ require 'securerandom'
6
6
  module SBF
7
7
  module Client
8
8
  class Configuration
9
- DEFAULT_API_ENDPOINT = 'https://api'
9
+ DEFAULT_API_ENDPOINT = 'https://api'.freeze
10
10
 
11
11
  @logger = nil
12
12
 
@@ -8,8 +8,8 @@ module SBF
8
8
  actions DEFAULT_CRUD_ACTIONS
9
9
 
10
10
  module Type
11
- IMPORTED = 'imported'
12
- PROCESSED = 'processed'
11
+ IMPORTED = 'imported'.freeze
12
+ PROCESSED = 'processed'.freeze
13
13
  end
14
14
 
15
15
  attr_accessor :id
@@ -10,10 +10,10 @@ module SBF
10
10
  actions DEFAULT_CRUD_ACTIONS
11
11
 
12
12
  module Status
13
- PENDING = 'pending'
14
- ACCEPTED = 'accepted'
15
- CANCELED = 'canceled'
16
- DECLINED = 'declined'
13
+ PENDING = 'pending'.freeze
14
+ ACCEPTED = 'accepted'.freeze
15
+ CANCELED = 'canceled'.freeze
16
+ DECLINED = 'declined'.freeze
17
17
  end
18
18
 
19
19
  attr_accessor :id
@@ -17,8 +17,8 @@ module SBF
17
17
  blacklist_action :create
18
18
 
19
19
  module Type
20
- CHALLENGER = 'challenger'
21
- CHALLENGEE = 'challengee'
20
+ CHALLENGER = 'challenger'.freeze
21
+ CHALLENGEE = 'challengee'.freeze
22
22
  end
23
23
 
24
24
  class Totals < SBF::Client::BaseEntity
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -11,7 +11,7 @@ module SBF
11
11
  actions DEFAULT_CRUD_ACTIONS
12
12
 
13
13
  module Type
14
- WEBSITE = 'website'
14
+ WEBSITE = 'website'.freeze
15
15
  end
16
16
 
17
17
  attr_reader :id
@@ -20,11 +20,11 @@ module SBF
20
20
  action :release_checkout
21
21
 
22
22
  module Status
23
- READY = 'ready'
24
- CHECKED_OUT = 'checked_out'
25
- COMPLETED = 'completed'
26
- ERROR_OUT_OF_SYNC_ADD = 'error_out_of_sync_add'
27
- ERROR_OUT_OF_SYNC_UPDATE = 'error_out_of_sync_update'
23
+ READY = 'ready'.freeze
24
+ CHECKED_OUT = 'checked_out'.freeze
25
+ COMPLETED = 'completed'.freeze
26
+ ERROR_OUT_OF_SYNC_ADD = 'error_out_of_sync_add'.freeze
27
+ ERROR_OUT_OF_SYNC_UPDATE = 'error_out_of_sync_update'.freeze
28
28
  end
29
29
 
30
30
  attr_accessor :id
@@ -44,9 +44,9 @@ module SBF
44
44
  entity_attr_accessor :name_pieces, 'SBF::Client::NamePieces'
45
45
 
46
46
  module Type
47
- HONOR = 'honor'
48
- TRIBUTE = 'tribute'
49
- MEMORY = 'memory'
47
+ HONOR = 'honor'.freeze
48
+ TRIBUTE = 'tribute'.freeze
49
+ MEMORY = 'memory'.freeze
50
50
  end
51
51
  end
52
52
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -28,7 +28,7 @@ module SBF
28
28
  action :invite
29
29
 
30
30
  cache_id -> { [id, year] }
31
- cache_id_from_hash ->(h) { [h[:id], h[:event_year]] }
31
+ cache_id_from_hash ->(h) { [h[:event_id], h[:event_year]] }
32
32
 
33
33
  disallow_instantiation
34
34
 
@@ -121,15 +121,15 @@ module SBF
121
121
 
122
122
  class Location < SBF::Client::Location
123
123
  module Type
124
- RESTAURANT = 'restaurant'
125
- SCHOOL = 'school'
126
- BUSINESS = 'business'
127
- PRIVATE_RESIDENCE = 'private_residence'
128
- HOSPITAL = 'hospital'
129
- MUNICIPALITY = 'municipality'
130
- OTHER = 'other'
131
- LEGACY = 'legacy'
132
- VIRTUAL = 'virtual'
124
+ RESTAURANT = 'restaurant'.freeze
125
+ SCHOOL = 'school'.freeze
126
+ BUSINESS = 'business'.freeze
127
+ PRIVATE_RESIDENCE = 'private_residence'.freeze
128
+ HOSPITAL = 'hospital'.freeze
129
+ MUNICIPALITY = 'municipality'.freeze
130
+ OTHER = 'other'.freeze
131
+ LEGACY = 'legacy'.freeze
132
+ VIRTUAL = 'virtual'.freeze
133
133
  end
134
134
 
135
135
  attr_accessor :type
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'stbaldricks/entities/lib/top_level'
2
4
 
3
5
  module SBF
@@ -27,35 +27,35 @@ module SBF
27
27
  disallow_instantiation
28
28
 
29
29
  module Status
30
- ACTIVE = 'active'
31
- PENDING = 'pending'
30
+ ACTIVE = 'active'.freeze
31
+ PENDING = 'pending'.freeze
32
32
  end
33
33
 
34
34
  module Category
35
- ATHLETICS = 'athletics'
36
- CELEBRATION = 'celebration'
37
- SALE = 'sale'
38
- OTHER = 'other'
35
+ ATHLETICS = 'athletics'.freeze
36
+ CELEBRATION = 'celebration'.freeze
37
+ SALE = 'sale'.freeze
38
+ OTHER = 'other'.freeze
39
39
  end
40
40
 
41
41
  module HowCreated
42
- WEBSITE = 'website'
43
- ADMIN_CONTROL_PANEL = 'admin_control_panel'
44
- ADMIN_IMPORT = 'admin_import'
45
- LEGACY = 'legacy'
46
- MOBILE = 'mobile'
42
+ WEBSITE = 'website'.freeze
43
+ ADMIN_CONTROL_PANEL = 'admin_control_panel'.freeze
44
+ ADMIN_IMPORT = 'admin_import'.freeze
45
+ LEGACY = 'legacy'.freeze
46
+ MOBILE = 'mobile'.freeze
47
47
  end
48
48
 
49
49
  module FundRelationshipType
50
- NO_ASSOCIATION = 'no_association'
51
- INDIRECT_ONE = 'indirect_one'
52
- INDIRECT_MULTIPLE = 'indirect_multiple'
53
- DIRECT = 'direct'
54
- DIRECT_BUT_LOCKED = 'direct_but_locked'
55
- INHERITED_FROM_TEAM = 'inherited_from_team'
56
- INHERITED_FROM_EVENT = 'inherited_from_event'
57
- INHERITED_FROM_TEAMS_EVENT = 'inherited_from_teams_event'
58
- INHERITED_FROM_BOTH_TEAM_AND_EVENT = 'inherited_from_both_team_and_event'
50
+ NO_ASSOCIATION = 'no_association'.freeze
51
+ INDIRECT_ONE = 'indirect_one'.freeze
52
+ INDIRECT_MULTIPLE = 'indirect_multiple'.freeze
53
+ DIRECT = 'direct'.freeze
54
+ DIRECT_BUT_LOCKED = 'direct_but_locked'.freeze
55
+ INHERITED_FROM_TEAM = 'inherited_from_team'.freeze
56
+ INHERITED_FROM_EVENT = 'inherited_from_event'.freeze
57
+ INHERITED_FROM_TEAMS_EVENT = 'inherited_from_teams_event'.freeze
58
+ INHERITED_FROM_BOTH_TEAM_AND_EVENT = 'inherited_from_both_team_and_event'.freeze
59
59
  end
60
60
 
61
61
  class Photos < SBF::Client::BaseEntity
@@ -15,8 +15,8 @@ module SBF
15
15
  disallow_instantiation
16
16
 
17
17
  module Status
18
- ACTIVE = 'active'
19
- PENDING = 'pending'
18
+ ACTIVE = 'active'.freeze
19
+ PENDING = 'pending'.freeze
20
20
  end
21
21
 
22
22
  class WebPage < SBF::Client::BaseEntity
@@ -16,43 +16,43 @@ module SBF
16
16
  attr_accessor :other
17
17
 
18
18
  module CancerType
19
- ACUTE_LYMPHOBLASTIC_LEUKEMIA = 'acute_lymphoblastic_leukemia'
20
- ACUTE_MYELOID_LEUKEMIA = 'acute_myeloid_leukemia'
21
- BRAIN_OR_SPINAL_CORD_TUMOR = 'brain_or_spinal_cord_tumor'
22
- KIDNEY_SARCOMA = 'kidney_sarcoma'
23
- EWING_SARCOMA = 'ewing_sarcoma'
24
- GERM_CELL_TUMOR = 'germ_cell_tumor'
25
- HEPATOBLASTOMA = 'hepatoblastoma'
26
- HODGKIN_LYMPHOMA = 'hodgkin_lymphoma'
27
- LANGERHANS_CELL_HISTIOCYTOSIS = 'langerhans_cell_histiocytosis'
28
- LYMPHOMA = 'lymphoma'
29
- NEUROBLASTOMA = 'neuroblastoma'
30
- NON_HODGKIN_LYMPHOMA = 'non_hodgkin_lymphoma'
31
- OSTEOSARCOMA = 'osteosarcoma'
32
- RETINOBLASTOMA = 'retinoblastoma'
33
- RHABDOMYOSARCOMA = 'rhabdomyosarcoma'
34
- WILMS_OR_OTHER_KIDNEY_TUMOR = 'wilms_or_other_kidney_tumor'
35
- ADULT_WITH_CHILDHOOD_CANCER = 'adult_with_childhood_cancer'
36
- OTHER_CHILDHOOD_CANCER = 'other_childhood_cancer'
19
+ ACUTE_LYMPHOBLASTIC_LEUKEMIA = 'acute_lymphoblastic_leukemia'.freeze
20
+ ACUTE_MYELOID_LEUKEMIA = 'acute_myeloid_leukemia'.freeze
21
+ BRAIN_OR_SPINAL_CORD_TUMOR = 'brain_or_spinal_cord_tumor'.freeze
22
+ KIDNEY_SARCOMA = 'kidney_sarcoma'.freeze
23
+ EWING_SARCOMA = 'ewing_sarcoma'.freeze
24
+ GERM_CELL_TUMOR = 'germ_cell_tumor'.freeze
25
+ HEPATOBLASTOMA = 'hepatoblastoma'.freeze
26
+ HODGKIN_LYMPHOMA = 'hodgkin_lymphoma'.freeze
27
+ LANGERHANS_CELL_HISTIOCYTOSIS = 'langerhans_cell_histiocytosis'.freeze
28
+ LYMPHOMA = 'lymphoma'.freeze
29
+ NEUROBLASTOMA = 'neuroblastoma'.freeze
30
+ NON_HODGKIN_LYMPHOMA = 'non_hodgkin_lymphoma'.freeze
31
+ OSTEOSARCOMA = 'osteosarcoma'.freeze
32
+ RETINOBLASTOMA = 'retinoblastoma'.freeze
33
+ RHABDOMYOSARCOMA = 'rhabdomyosarcoma'.freeze
34
+ WILMS_OR_OTHER_KIDNEY_TUMOR = 'wilms_or_other_kidney_tumor'.freeze
35
+ ADULT_WITH_CHILDHOOD_CANCER = 'adult_with_childhood_cancer'.freeze
36
+ OTHER_CHILDHOOD_CANCER = 'other_childhood_cancer'.freeze
37
37
  end
38
38
  end
39
39
 
40
40
  class Guardian < SBF::Client::BaseEntity
41
41
  module RelationshipType
42
- SELF_ADULT = 'adult'
43
- SELF_MINOR = 'minor'
44
- MOTHER = 'mother'
45
- FATHER = 'father'
46
- SISTER = 'sister'
47
- BROTHER = 'brother'
48
- AUNT = 'aunt'
49
- UNCLE = 'uncle'
50
- GRANDMOTHER = 'grandmother'
51
- GRANDFATHER = 'grandfather'
52
- STEP_MOTHER = 'stepmother'
53
- STEP_FATHER = 'stepfather'
54
- FRIEND = 'friend'
55
- COUSIN = 'cousin'
42
+ SELF_ADULT = 'adult'.freeze
43
+ SELF_MINOR = 'minor'.freeze
44
+ MOTHER = 'mother'.freeze
45
+ FATHER = 'father'.freeze
46
+ SISTER = 'sister'.freeze
47
+ BROTHER = 'brother'.freeze
48
+ AUNT = 'aunt'.freeze
49
+ UNCLE = 'uncle'.freeze
50
+ GRANDMOTHER = 'grandmother'.freeze
51
+ GRANDFATHER = 'grandfather'.freeze
52
+ STEP_MOTHER = 'stepmother'.freeze
53
+ STEP_FATHER = 'stepfather'.freeze
54
+ FRIEND = 'friend'.freeze
55
+ COUSIN = 'cousin'.freeze
56
56
  end
57
57
 
58
58
  attr_accessor :name
@@ -67,19 +67,19 @@ module SBF
67
67
  attr_accessor :other
68
68
 
69
69
  module SurvivorState
70
- IN_TREATMENT = 'in_treatment'
71
- IN_MAINTENANCE = 'in_maintenance'
72
- IN_REMISSION = 'in_remission'
73
- NED = 'no_evidence_of_disease'
74
- CANCER_FREE = 'cancer_free'
75
- OTHER_LIVING = 'other_living'
70
+ IN_TREATMENT = 'in_treatment'.freeze
71
+ IN_MAINTENANCE = 'in_maintenance'.freeze
72
+ IN_REMISSION = 'in_remission'.freeze
73
+ NED = 'no_evidence_of_disease'.freeze
74
+ CANCER_FREE = 'cancer_free'.freeze
75
+ OTHER_LIVING = 'other_living'.freeze
76
76
  end
77
77
 
78
78
  module DeceasedState
79
- ANGEL = 'angel'
80
- DECEASED = 'deceased'
81
- PASSED_AWAY = 'passed_away'
82
- OTHER_DECEASED = 'other_deceased'
79
+ ANGEL = 'angel'.freeze
80
+ DECEASED = 'deceased'.freeze
81
+ PASSED_AWAY = 'passed_away'.freeze
82
+ OTHER_DECEASED = 'other_deceased'.freeze
83
83
  end
84
84
  end
85
85
 
@@ -102,33 +102,33 @@ module SBF
102
102
  disallow_instantiation
103
103
 
104
104
  module Status
105
- ACTIVE = 'active'
106
- PENDING = 'pending'
107
- SUSPENDED = 'suspended'
105
+ ACTIVE = 'active'.freeze
106
+ PENDING = 'pending'.freeze
107
+ SUSPENDED = 'suspended'.freeze
108
108
  end
109
109
 
110
110
  class Relationship < SBF::Client::BaseEntity
111
111
  module Type
112
- SELF_ADULT = 'adult'
113
- SELF_MINOR = 'minor'
114
- MOTHER = 'mother'
115
- FATHER = 'father'
116
- SISTER = 'sister'
117
- BROTHER = 'brother'
118
- AUNT = 'aunt'
119
- UNCLE = 'uncle'
120
- GRANDMOTHER = 'grandmother'
121
- GRANDFATHER = 'grandfather'
122
- STEP_MOTHER = 'stepmother'
123
- STEP_FATHER = 'stepfather'
124
- FRIEND = 'friend'
125
- COUSIN = 'cousin'
112
+ SELF_ADULT = 'adult'.freeze
113
+ SELF_MINOR = 'minor'.freeze
114
+ MOTHER = 'mother'.freeze
115
+ FATHER = 'father'.freeze
116
+ SISTER = 'sister'.freeze
117
+ BROTHER = 'brother'.freeze
118
+ AUNT = 'aunt'.freeze
119
+ UNCLE = 'uncle'.freeze
120
+ GRANDMOTHER = 'grandmother'.freeze
121
+ GRANDFATHER = 'grandfather'.freeze
122
+ STEP_MOTHER = 'stepmother'.freeze
123
+ STEP_FATHER = 'stepfather'.freeze
124
+ FRIEND = 'friend'.freeze
125
+ COUSIN = 'cousin'.freeze
126
126
  end
127
127
 
128
128
  module GuardianType
129
- LEGAL_GUARDIAN = 'legal_guardian'
130
- NONCUSTODIAL_GUARDIAN = 'non_custodial_guardian'
131
- OTHER = 'other'
129
+ LEGAL_GUARDIAN = 'legal_guardian'.freeze
130
+ NONCUSTODIAL_GUARDIAN = 'non_custodial_guardian'.freeze
131
+ OTHER = 'other'.freeze
132
132
  end
133
133
 
134
134
  class Permissions < SBF::Client::BaseEntity