stbaldricks 6.2.1.alpha.3 → 6.3.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8bcf16ab12020c0775ef2275dc1a35a236541e353202cf5abc729131a862899
4
- data.tar.gz: e1d3643e6abc0930ed739388f1d2dc4091f41c1000a45c14ba4cd48f231e31bd
3
+ metadata.gz: a5f6b3bfd0095831bd507b1fceebb80c34d1a69512e6e60bf696be5392fe84f1
4
+ data.tar.gz: 9eb7a9dcd7210338827dfc3be79bdaa15709bd08b0d43f5a6b37d11377e2ec6b
5
5
  SHA512:
6
- metadata.gz: 66daa37231166140e5e54e6a5ecd205b92a2efae12c889209849f17832c25fecfa77ebe6bf91d25e4bba22cecb66cdfea179a5fdb4636f42022b5e377178dae6
7
- data.tar.gz: 103fe70b4888ce89b7f1b73081f9448cf7c7d44587ec619cce438e4d8baf1ffc118d9d9425aca2b6e5953df450fc860cbe3246b26d618b40b4346847b28e9b44
6
+ metadata.gz: 6ff7fab4cf881674d6ffc4ee1936ad4526920d266496fcadffec97f009bca6d2dd0365df6efa262d0ca0f6f77ea44e8ff8d9009609d1600656732c83dccc1671
7
+ data.tar.gz: 5ab82246beb7c895711244bc5edeee3884285f65763defc7fb24c2bcbad77431e4612aa1e2e367eccfdcbb00066b921a2cb67f6ff9bb1b3969e52913730a949a
@@ -0,0 +1,16 @@
1
+ require 'stbaldricks/entities/lib/base'
2
+
3
+ module SBF
4
+ module Client
5
+ class AlternateShippingAddress < SBF::Client::BaseEntity
6
+ module Type
7
+ HOME = 'home'
8
+ BUSINESS = 'business'
9
+ end
10
+
11
+ attr_accessor :type
12
+ attr_accessor :business_name
13
+ attr_accessor :address1, :address2, :city, :state, :state_name, :zip, :country, :country_name
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,9 @@
1
+ require 'stbaldricks/entities/lib/address'
2
+
3
+ module SBF
4
+ module Client
5
+ class ProfileAddress < SBF::Client::Address
6
+ attr_accessor :is_bad
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'stbaldricks/entities/lib/email_address'
2
+
3
+ module SBF
4
+ module Client
5
+ class ProfileEmailAddress < SBF::Client::EmailAddress
6
+ attr_accessor :is_bad
7
+ end
8
+ end
9
+ end
@@ -1,9 +1,10 @@
1
- require 'stbaldricks/entities/lib/address'
1
+ require 'stbaldricks/entities/lib/profile_address'
2
2
  require 'stbaldricks/entities/lib/top_level'
3
- require 'stbaldricks/entities/lib/email_address'
3
+ require 'stbaldricks/entities/lib/profile_email_address'
4
4
  require 'stbaldricks/entities/lib/name'
5
5
  require 'stbaldricks/entities/lib/phone'
6
6
  require 'stbaldricks/entities/lib/opt_out_settings'
7
+ require 'stbaldricks/entities/lib/alternate_shipping_address'
7
8
  require 'stbaldricks/entities/concerns/type_concern'
8
9
 
9
10
  module SBF
@@ -51,8 +52,8 @@ module SBF
51
52
  end
52
53
 
53
54
  class Addresses < SBF::Client::BaseEntity
54
- entity_attr_accessor :primary, 'SBF::Client::Address'
55
- entity_attr_accessor :secondary, 'SBF::Client::Address'
55
+ entity_attr_accessor :primary, 'SBF::Client::ProfileAddress'
56
+ entity_attr_accessor :secondary, 'SBF::Client::ProfileAddress'
56
57
  end
57
58
 
58
59
  class PhoneNumbers < SBF::Client::BaseEntity
@@ -61,8 +62,8 @@ module SBF
61
62
  end
62
63
 
63
64
  class EmailAddresses < SBF::Client::BaseEntity
64
- entity_attr_accessor :primary, 'SBF::Client::EmailAddress'
65
- entity_attr_accessor :secondary, 'SBF::Client::EmailAddress'
65
+ entity_attr_accessor :primary, 'SBF::Client::ProfileEmailAddress'
66
+ entity_attr_accessor :secondary, 'SBF::Client::ProfileEmailAddress'
66
67
  end
67
68
  end
68
69
 
@@ -88,6 +89,7 @@ module SBF
88
89
  entity_attr_accessor :email_addresses, 'SBF::Client::Organization::EmailAddresses'
89
90
  entity_attr_accessor :opt_out_settings, 'SBF::Client::OptOutSettings', nil, true
90
91
  attr_accessor :selected_shipping_method
92
+ entity_attr_accessor :alternate_shipping_address, 'SBF::Client::AlternateShippingAddress', nil, true
91
93
  attr_reader :created_at, :modified_at
92
94
  attr_accessor :modified_by
93
95
  attr_accessor :how_created
@@ -1,11 +1,12 @@
1
- require 'stbaldricks/entities/lib/address'
1
+ require 'stbaldricks/entities/lib/profile_address'
2
2
  require 'stbaldricks/entities/lib/base'
3
3
  require 'stbaldricks/entities/lib/top_level'
4
- require 'stbaldricks/entities/lib/email_address'
4
+ require 'stbaldricks/entities/lib/profile_email_address'
5
5
  require 'stbaldricks/entities/lib/name'
6
6
  require 'stbaldricks/entities/lib/phone'
7
7
  require 'stbaldricks/enums/league_status'
8
8
  require 'stbaldricks/entities/lib/opt_out_settings'
9
+ require 'stbaldricks/entities/lib/alternate_shipping_address'
9
10
  require 'stbaldricks/entities/lib/default_cacheable'
10
11
  require 'stbaldricks/entities/concerns/type_concern'
11
12
 
@@ -76,8 +77,8 @@ module SBF
76
77
  end
77
78
 
78
79
  class Addresses < SBF::Client::BaseEntity
79
- entity_attr_accessor :primary, 'SBF::Client::Address'
80
- entity_attr_accessor :secondary, 'SBF::Client::Address'
80
+ entity_attr_accessor :primary, 'SBF::Client::ProfileAddress'
81
+ entity_attr_accessor :secondary, 'SBF::Client::ProfileAddress'
81
82
  end
82
83
 
83
84
  class PhoneNumbers < SBF::Client::BaseEntity
@@ -86,8 +87,8 @@ module SBF
86
87
  end
87
88
 
88
89
  class EmailAddresses < SBF::Client::BaseEntity
89
- entity_attr_accessor :primary, 'SBF::Client::EmailAddress'
90
- entity_attr_accessor :secondary, 'SBF::Client::EmailAddress'
90
+ entity_attr_accessor :primary, 'SBF::Client::ProfileEmailAddress'
91
+ entity_attr_accessor :secondary, 'SBF::Client::ProfileEmailAddress'
91
92
  end
92
93
 
93
94
  class Policies < SBF::Client::BaseEntity
@@ -394,6 +395,7 @@ module SBF
394
395
  entity_attr_accessor :how_affected, 'SBF::Client::Person::HowAffected', nil, true
395
396
  entity_attr_accessor :opt_out_settings, 'SBF::Client::OptOutSettings', nil, true
396
397
  attr_accessor :selected_shipping_method
398
+ entity_attr_accessor :alternate_shipping_address, 'SBF::Client::AlternateShippingAddress', nil, true
397
399
  attr_reader :created_at, :modified_at
398
400
  attr_accessor :modified_by
399
401
  attr_accessor :how_created
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '6.2.1.alpha.3'
3
+ VERSION = '6.3.0.alpha.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stbaldricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.1.alpha.3
4
+ version: 6.3.0.alpha.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2018-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -158,6 +158,7 @@ files:
158
158
  - lib/stbaldricks/entities/kid_honor.rb
159
159
  - lib/stbaldricks/entities/kid_institution.rb
160
160
  - lib/stbaldricks/entities/lib/address.rb
161
+ - lib/stbaldricks/entities/lib/alternate_shipping_address.rb
161
162
  - lib/stbaldricks/entities/lib/base.rb
162
163
  - lib/stbaldricks/entities/lib/cacheable.rb
163
164
  - lib/stbaldricks/entities/lib/collection.rb
@@ -173,6 +174,8 @@ files:
173
174
  - lib/stbaldricks/entities/lib/payment.rb
174
175
  - lib/stbaldricks/entities/lib/permissions.rb
175
176
  - lib/stbaldricks/entities/lib/phone.rb
177
+ - lib/stbaldricks/entities/lib/profile_address.rb
178
+ - lib/stbaldricks/entities/lib/profile_email_address.rb
176
179
  - lib/stbaldricks/entities/lib/third_party_media.rb
177
180
  - lib/stbaldricks/entities/lib/top_level.rb
178
181
  - lib/stbaldricks/entities/lib/venue.rb