cb-api 5.1.2 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,6 +86,7 @@ module Cb
86
86
  @requirements = args['JobRequirements'] || ''
87
87
  @begin_date = args['BeginDate'] || ''
88
88
  @end_date = args['EndDate'] || ''
89
+ @has_questionnaire = args['HasQuestionnaire'] || ''
89
90
 
90
91
  # Application
91
92
  @apply_url = args['ApplyURL'] || ''
@@ -126,27 +127,31 @@ module Cb
126
127
  end
127
128
 
128
129
  def external_application?
129
- @external_application.downcase == 'true' ? true : false
130
+ @external_application.downcase == 'true'
130
131
  end
131
132
 
132
133
  def relocation_covered?
133
- @relocation_covered.downcase == 'true' ? true : false
134
+ @relocation_covered.downcase == 'true'
134
135
  end
135
136
 
136
137
  def manages_others?
137
- @manages_others.downcase == 'true' ? true : false
138
+ @manages_others.downcase == 'true'
138
139
  end
139
140
 
140
141
  def screener_apply?
141
- @is_screener_apply.downcase == 'true' ? true : false
142
+ @is_screener_apply.downcase == 'true'
142
143
  end
143
144
 
144
145
  def shared_job?
145
- @is_shared_job.downcase == 'true' ? true : false
146
+ @is_shared_job.downcase == 'true'
146
147
  end
147
148
 
148
149
  def can_be_quick_applied?
149
- @can_be_quick_applied.downcase == 'true' ? true : false
150
+ @can_be_quick_applied.downcase == 'true'
151
+ end
152
+
153
+ def has_questionnaire?
154
+ @has_questionnaire.downcase == 'true'
150
155
  end
151
156
 
152
157
  def city
data/lib/cb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '5.1.2'
2
+ VERSION = '5.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.2
4
+ version: 5.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: