Class: Cb::Models::EmailSubscription
- Inherits:
-
Object
- Object
- Cb::Models::EmailSubscription
- Defined in:
- lib/cb/models/implementations/email_subscription.rb
Instance Attribute Summary collapse
-
#applicant_survey_invites ⇒ Object
Returns the value of attribute applicant_survey_invites.
-
#application_viewed ⇒ Object
Returns the value of attribute application_viewed.
-
#career_resources ⇒ Object
Returns the value of attribute career_resources.
-
#djr ⇒ Object
Returns the value of attribute djr.
-
#job_recs ⇒ Object
Returns the value of attribute job_recs.
-
#product_sponsor_info ⇒ Object
Returns the value of attribute product_sponsor_info.
-
#resume_viewed ⇒ Object
Returns the value of attribute resume_viewed.
-
#unsubscribe_all ⇒ Object
Returns the value of attribute unsubscribe_all.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ EmailSubscription
constructor
A new instance of EmailSubscription.
Constructor Details
#initialize(args = {}) ⇒ EmailSubscription
Returns a new instance of EmailSubscription.
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 17 def initialize(args = {}) return if args.nil? @career_resources = args['CareerResources'].to_s || '' @product_sponsor_info = args['ProductSponsorInfo'].to_s || '' @applicant_survey_invites = args['ApplicantSurveyInvites'].to_s || '' @job_recs = args['JobRecs'].to_s || '' @djr = args['DJR'].to_s || '' @resume_viewed = args['ResumeViewed'].to_s || '' @application_viewed = args['ApplicationViewed'].to_s || '' end |
Instance Attribute Details
#applicant_survey_invites ⇒ Object
Returns the value of attribute applicant_survey_invites.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def applicant_survey_invites @applicant_survey_invites end |
#application_viewed ⇒ Object
Returns the value of attribute application_viewed.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def application_viewed @application_viewed end |
#career_resources ⇒ Object
Returns the value of attribute career_resources.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def career_resources @career_resources end |
#djr ⇒ Object
Returns the value of attribute djr.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def djr @djr end |
#job_recs ⇒ Object
Returns the value of attribute job_recs.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def job_recs @job_recs end |
#product_sponsor_info ⇒ Object
Returns the value of attribute product_sponsor_info.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def product_sponsor_info @product_sponsor_info end |
#resume_viewed ⇒ Object
Returns the value of attribute resume_viewed.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def resume_viewed @resume_viewed end |
#unsubscribe_all ⇒ Object
Returns the value of attribute unsubscribe_all.
14 15 16 |
# File 'lib/cb/models/implementations/email_subscription.rb', line 14 def unsubscribe_all @unsubscribe_all end |