stbaldricks 10.4.0.alpha.2 → 10.6.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 (81) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stbaldricks/configuration.rb +4 -4
  3. data/lib/stbaldricks/endpoints/donation.rb +2 -2
  4. data/lib/stbaldricks/endpoints/lib/entity.rb +2 -2
  5. data/lib/stbaldricks/endpoints/photo.rb +1 -3
  6. data/lib/stbaldricks/entities/batch.rb +2 -2
  7. data/lib/stbaldricks/entities/challenge.rb +4 -4
  8. data/lib/stbaldricks/entities/challenger.rb +2 -2
  9. data/lib/stbaldricks/entities/challenger/model_type.rb +2 -0
  10. data/lib/stbaldricks/entities/concerns/entity_response_concern.rb +2 -4
  11. data/lib/stbaldricks/entities/config.rb +1 -1
  12. data/lib/stbaldricks/entities/contact.rb +1 -1
  13. data/lib/stbaldricks/entities/deduplicator_match.rb +5 -5
  14. data/lib/stbaldricks/entities/donation.rb +3 -3
  15. data/lib/stbaldricks/entities/donation/donor_type.rb +2 -0
  16. data/lib/stbaldricks/entities/donation/how_created.rb +2 -0
  17. data/lib/stbaldricks/entities/donation/payment_gateway.rb +2 -0
  18. data/lib/stbaldricks/entities/donation/payment_type.rb +2 -0
  19. data/lib/stbaldricks/entities/donation/promo_code.rb +19 -5
  20. data/lib/stbaldricks/entities/donation/recipient_type.rb +2 -0
  21. data/lib/stbaldricks/entities/donation/special_donation_type.rb +2 -0
  22. data/lib/stbaldricks/entities/donation/status.rb +2 -0
  23. data/lib/stbaldricks/entities/donation/submitter_type.rb +2 -0
  24. data/lib/stbaldricks/entities/event.rb +10 -14
  25. data/lib/stbaldricks/entities/event/fund_relationship_type.rb +2 -0
  26. data/lib/stbaldricks/entities/event/how_created.rb +2 -0
  27. data/lib/stbaldricks/entities/event/promo_code.rb +2 -0
  28. data/lib/stbaldricks/entities/event/status.rb +2 -0
  29. data/lib/stbaldricks/entities/event/sub_type.rb +2 -0
  30. data/lib/stbaldricks/entities/event/type.rb +2 -0
  31. data/lib/stbaldricks/entities/event_application/model_type.rb +2 -0
  32. data/lib/stbaldricks/entities/event_application/status.rb +2 -0
  33. data/lib/stbaldricks/entities/fund.rb +1 -2
  34. data/lib/stbaldricks/entities/fundraiser.rb +21 -25
  35. data/lib/stbaldricks/entities/international_partner.rb +2 -2
  36. data/lib/stbaldricks/entities/kid.rb +62 -62
  37. data/lib/stbaldricks/entities/kid_honor.rb +4 -4
  38. data/lib/stbaldricks/entities/lib/address.rb +2 -2
  39. data/lib/stbaldricks/entities/lib/alternate_shipping_address.rb +2 -2
  40. data/lib/stbaldricks/entities/lib/base.rb +24 -27
  41. data/lib/stbaldricks/entities/lib/cacheable.rb +1 -3
  42. data/lib/stbaldricks/entities/lib/collection.rb +2 -2
  43. data/lib/stbaldricks/entities/lib/email_address.rb +2 -2
  44. data/lib/stbaldricks/entities/lib/fundraising_page.rb +1 -1
  45. data/lib/stbaldricks/entities/lib/not_implemented_object.rb +4 -4
  46. data/lib/stbaldricks/entities/lib/payment.rb +14 -14
  47. data/lib/stbaldricks/entities/lib/phone.rb +3 -3
  48. data/lib/stbaldricks/entities/lib/third_party_media.rb +2 -2
  49. data/lib/stbaldricks/entities/lib/top_level.rb +4 -4
  50. data/lib/stbaldricks/entities/memorial.rb +3 -4
  51. data/lib/stbaldricks/entities/message.rb +8 -8
  52. data/lib/stbaldricks/entities/organization.rb +21 -21
  53. data/lib/stbaldricks/entities/page.rb +4 -6
  54. data/lib/stbaldricks/entities/participant.rb +58 -61
  55. data/lib/stbaldricks/entities/person.rb +97 -98
  56. data/lib/stbaldricks/entities/photo.rb +26 -26
  57. data/lib/stbaldricks/entities/recurring_gift.rb +18 -18
  58. data/lib/stbaldricks/entities/search.rb +8 -8
  59. data/lib/stbaldricks/entities/shave_schedule.rb +2 -2
  60. data/lib/stbaldricks/entities/team.rb +15 -18
  61. data/lib/stbaldricks/entities/user.rb +7 -5
  62. data/lib/stbaldricks/enums/cancer_types.rb +2 -0
  63. data/lib/stbaldricks/enums/country.rb +2 -0
  64. data/lib/stbaldricks/enums/league_status.rb +2 -0
  65. data/lib/stbaldricks/enums/model_type.rb +2 -0
  66. data/lib/stbaldricks/enums/permission.rb +8 -8
  67. data/lib/stbaldricks/enums/permission_model_type.rb +2 -0
  68. data/lib/stbaldricks/enums/province.rb +2 -0
  69. data/lib/stbaldricks/enums/state.rb +2 -0
  70. data/lib/stbaldricks/enums/top_level_category_type.rb +2 -0
  71. data/lib/stbaldricks/log.rb +3 -1
  72. data/lib/stbaldricks/patches/hash.rb +2 -2
  73. data/lib/stbaldricks/patches/string.rb +1 -1
  74. data/lib/stbaldricks/request.rb +3 -3
  75. data/lib/stbaldricks/version.rb +1 -1
  76. data/lib/stbaldricks_factories.rb +1 -1
  77. data/spec/factories/challenger.rb +2 -2
  78. data/spec/factories/kid.rb +3 -3
  79. data/spec/factories/kid_institution.rb +2 -2
  80. data/spec/factories/team.rb +2 -2
  81. metadata +88 -88
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca091be5ac55c2a935a778b3ff8d2dd0c83658903449e43b9f8a78653ff522d1
4
- data.tar.gz: 5ebdfd569cb3a613445d245a1cb856ebed408a8addafd7dd956f9b6e79a31249
3
+ metadata.gz: d75bb0befe080e6a5e3c7d4342880f6061e4d22921966104940b44e359872d2d
4
+ data.tar.gz: '09ff21763df58c4efe72fc05cf127d910fd3005344f1f967c8e44a4cce1bd04e'
5
5
  SHA512:
6
- metadata.gz: c36c76c66df6d39597b90c4a1eb13896712fcd93d278cbd1b3bc1a91ecf835c74975a69d02be7b72e704edd1a3877f46a94aa057c43d11adba43f779250dbf52
7
- data.tar.gz: ebf0f88deae8ac7783288f7d7b990e8ff835c46638fba88e9ab0db8bd2ea1afc6050310ea1a01694cfb1094d12e5bf443671574d5594ae27b106ba0922662498
6
+ metadata.gz: bfef3ddf934f7487d84ce8434df0e0e832419bd3393a263f8be190d2ae94f0e0f1332bc30090387cc2d7ddb362db6dd3e583a0c5a11b08131ecaa649658404b0
7
+ data.tar.gz: 249c5d8a7d8bb6d471ed8aea8b331ef5066559e21ac80271439b6250a3140ba544dc21ac173cff10ed4d0e09512f016c4a72aa36c5bc64ee1a693ab80ed33781
@@ -6,9 +6,9 @@ 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
- @_logger = nil
11
+ @logger = nil
12
12
 
13
13
  class << self
14
14
  attr_writer :base_uri, :user_token, :general_token, :request_id
@@ -31,11 +31,11 @@ module SBF
31
31
  missing_methods = SBF::Client::LOG::REQUIRED_METHODS.reject { |method| new_logger.respond_to?(method) }
32
32
  raise SBF::Client::Configuration::Error.new('logger', "must respond to: #{missing_methods.join(', ')}") unless missing_methods.empty?
33
33
 
34
- @_logger = new_logger
34
+ @logger = new_logger
35
35
  end
36
36
 
37
37
  def self.logger
38
- @_logger ||= SBF::Client::DefaultLogger.instance
38
+ @logger ||= SBF::Client::DefaultLogger.instance
39
39
  end
40
40
 
41
41
  class Error < ::StandardError
@@ -6,10 +6,10 @@ module SBF
6
6
  class DonationEndpoint < SBF::Client::EntityEndpoint
7
7
  def create(entity_or_hash, with = {})
8
8
  unless SBF::Client::Configuration.forwarded_for
9
- SBF::Client::LOG.warn {
9
+ SBF::Client::LOG.warn do
10
10
  "SBF::Client No forwarded_for configured for the client on the donation create route. \
11
11
  This may cause your app to be blocked from creating donations if too many errors occur."
12
- }
12
+ end
13
13
  end
14
14
  super
15
15
  end
@@ -224,7 +224,7 @@ module SBF
224
224
  end
225
225
  private :normalize_with
226
226
 
227
- # rubocop:disable IdenticalConditionalBranches
227
+ # rubocop:disable Style/IdenticalConditionalBranches
228
228
  def hydrated_entity(response, data, entity_or_hash)
229
229
  parsed_response_body = JSON.parse(response.body).symbolize!
230
230
 
@@ -258,7 +258,7 @@ module SBF
258
258
  end
259
259
  end
260
260
  private :hydrated_entity
261
- # rubocop:enable IdenticalConditionalBranches
261
+ # rubocop:enable Style/IdenticalConditionalBranches
262
262
  end
263
263
  end
264
264
  end
@@ -61,9 +61,7 @@ module SBF
61
61
  end
62
62
  end
63
63
 
64
- private
65
-
66
- def photo_for_upload(file, data)
64
+ private def photo_for_upload(file, data)
67
65
  if data.is_a?(SBF::Client::Photo)
68
66
  data.file = file
69
67
  data
@@ -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
@@ -47,16 +47,14 @@ module EntityResponseConcern
47
47
  self
48
48
  end
49
49
 
50
- private
51
-
52
- def single_active_model_error
50
+ private def single_active_model_error
53
51
  return if errors.empty?
54
52
  return [:base, errors[:base].first] if errors[:base].any?
55
53
 
56
54
  errors.first
57
55
  end
58
56
 
59
- def log_deprecated(method_name, method_caller = nil)
57
+ private def log_deprecated(method_name, method_caller = nil)
60
58
  SBF::Client::Configuration.logger.warn do
61
59
  caller_message = method_caller.nil? ? '' : " Called from #{method_caller.first}"
62
60
 
@@ -19,7 +19,7 @@ module SBF
19
19
  attr_reader :years_for_knight_commander
20
20
  attr_reader :years_for_crusader
21
21
  attr_reader :years_for_baron
22
- #NOTE: If you add another attribute, be sure to mock it out in `configure :test` of app.rb
22
+ # NOTE: If you add another attribute, be sure to mock it out in `configure :test` of app.rb
23
23
 
24
24
  # Attempts to call the method on the cached configuration object
25
25
  # rubocop:disable Style/MethodMissingSuper, Style/MissingRespondToMissing
@@ -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
@@ -41,13 +43,24 @@ module SBF
41
43
  BRIGADE = 'brigade'
42
44
  SCHICK = 'schick'
43
45
  BATTLE = 'battle'
44
- BLANK4 = 'blank4'
45
- BLANK5 = 'blank5'
46
- BLANK6 = 'blank6'
46
+ CCQR = 'ccqr'
47
+ QREVENTPRINTOUT = 'qreventprintout'
48
+ PDASHQR = 'pdashqr'
47
49
  APPEAL = 'appeal'
48
- BLANK8 = 'blank8'
50
+ INSTAGRAM = 'instagram'
49
51
  BLANK9 = 'blank9'
50
52
  BLANK10 = 'blank10'
53
+ BLANK11 = 'blank11'
54
+ BLANK12 = 'blank12'
55
+ BLANK13 = 'blank13'
56
+ BLANK14 = 'blank14'
57
+ BLANK15 = 'blank15'
58
+ BLANK16 = 'blank16'
59
+ BLANK17 = 'blank17'
60
+ BLANK18 = 'blank18'
61
+ BLANK19 = 'blank19'
62
+ BLANK20 = 'blank20'
63
+ BLANK21 = 'blank21'
51
64
 
52
65
  def self.to_a
53
66
  # Defining the array explicitly, in order rather than const_getting since some things in website-ruby depend on the order
@@ -55,7 +68,8 @@ module SBF
55
68
  GIVING_TUESDAY, SURVIVOR, SPONSORSHIP, LAPSED_LOW, LAPSED_MID, RMMEVENTS, YEAR_END_DG, LAPSED_DG, FB_FUNDRAISER,
56
69
  MOBILE_CAUSE, INTERNATIONAL, ACS, HEAD_SHAVING, SPORT_CLIPS, TWENTIETH_ANNIVERSARY, DWYW, GRANTS, SUMMER,
57
70
  ADVOCACY, MISSION, RECURRING_GIVING, ACSEVENTS, HS_TO_DONOR, WIRELESS_VISION, BMC, DUTCH_BROS, FADO, SAP, BRIGADE,
58
- SCHICK, BATTLE, BLANK4, BLANK5, BLANK6, APPEAL, BLANK8, BLANK9, BLANK10]
71
+ SCHICK, BATTLE, CCQR, QREVENTPRINTOUT, PDASHQR, APPEAL, INSTAGRAM, BLANK9, BLANK10, BLANK11, BLANK12, BLANK13,
72
+ BLANK14, BLANK15, BLANK16, BLANK17, BLANK18, BLANK19, BLANK20, BLANK21]
59
73
  end
60
74
  end
61
75
  end
@@ -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
@@ -22,11 +22,7 @@ require 'stbaldricks/entities/concerns/venue_concern'
22
22
  module SBF
23
23
  module Client
24
24
  class Event < SBF::Client::TopLevelEntity
25
- include Entities::Cacheable
26
- include DonationRecipientConcern
27
- include EventYearConcern
28
- include FundraisingPageConcern
29
- include VenueConcern
25
+ include VenueConcern, FundraisingPageConcern, EventYearConcern, DonationRecipientConcern, Entities::Cacheable
30
26
  endpoint SBF::Client::EventEndpoint
31
27
  actions DEFAULT_CRUD_ACTIONS
32
28
  action :invite
@@ -125,15 +121,15 @@ module SBF
125
121
 
126
122
  class Location < SBF::Client::Location
127
123
  module Type
128
- RESTAURANT = 'restaurant'
129
- SCHOOL = 'school'
130
- BUSINESS = 'business'
131
- PRIVATE_RESIDENCE = 'private_residence'
132
- HOSPITAL = 'hospital'
133
- MUNICIPALITY = 'municipality'
134
- OTHER = 'other'
135
- LEGACY = 'legacy'
136
- 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
137
133
  end
138
134
 
139
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
@@ -8,8 +8,7 @@ require 'stbaldricks/entities/concerns/donation_recipient_concern'
8
8
  module SBF
9
9
  module Client
10
10
  class Fund < SBF::Client::TopLevelEntity
11
- include Entities::DefaultCacheable
12
- include DonationRecipientConcern
11
+ include DonationRecipientConcern, Entities::DefaultCacheable
13
12
  endpoint SBF::Client::FundEndpoint
14
13
  action :allowed_entities
15
14
  action :get
@@ -16,11 +16,7 @@ require 'stbaldricks/entities/concerns/venue_concern'
16
16
  module SBF
17
17
  module Client
18
18
  class Fundraiser < SBF::Client::TopLevelEntity
19
- include Entities::DefaultCacheable
20
- include DonationRecipientConcern
21
- include EventYearConcern
22
- include FundraisingPageConcern
23
- include VenueConcern
19
+ include VenueConcern, FundraisingPageConcern, EventYearConcern, DonationRecipientConcern, Entities::DefaultCacheable
24
20
  endpoint SBF::Client::FundraiserEndpoint
25
21
  actions DEFAULT_CRUD_ACTIONS
26
22
  action :join_team
@@ -31,35 +27,35 @@ module SBF
31
27
  disallow_instantiation
32
28
 
33
29
  module Status
34
- ACTIVE = 'active'
35
- PENDING = 'pending'
30
+ ACTIVE = 'active'.freeze
31
+ PENDING = 'pending'.freeze
36
32
  end
37
33
 
38
34
  module Category
39
- ATHLETICS = 'athletics'
40
- CELEBRATION = 'celebration'
41
- SALE = 'sale'
42
- OTHER = 'other'
35
+ ATHLETICS = 'athletics'.freeze
36
+ CELEBRATION = 'celebration'.freeze
37
+ SALE = 'sale'.freeze
38
+ OTHER = 'other'.freeze
43
39
  end
44
40
 
45
41
  module HowCreated
46
- WEBSITE = 'website'
47
- ADMIN_CONTROL_PANEL = 'admin_control_panel'
48
- ADMIN_IMPORT = 'admin_import'
49
- LEGACY = 'legacy'
50
- 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
51
47
  end
52
48
 
53
49
  module FundRelationshipType
54
- NO_ASSOCIATION = 'no_association'
55
- INDIRECT_ONE = 'indirect_one'
56
- INDIRECT_MULTIPLE = 'indirect_multiple'
57
- DIRECT = 'direct'
58
- DIRECT_BUT_LOCKED = 'direct_but_locked'
59
- INHERITED_FROM_TEAM = 'inherited_from_team'
60
- INHERITED_FROM_EVENT = 'inherited_from_event'
61
- INHERITED_FROM_TEAMS_EVENT = 'inherited_from_teams_event'
62
- 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
63
59
  end
64
60
 
65
61
  class Photos < SBF::Client::BaseEntity