cb-api 5.3.0 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,6 +24,55 @@ module Cb
24
24
  super(args)
25
25
  end
26
26
 
27
+
28
+ def find_company
29
+ @company ||= Cb::CompanyApi.find_for self
30
+ end
31
+
32
+ def external_application?
33
+ @external_application.downcase == 'true'
34
+ end
35
+
36
+ def relocation_covered?
37
+ @relocation_covered.downcase == 'true'
38
+ end
39
+
40
+ def manages_others?
41
+ @manages_others.downcase == 'true'
42
+ end
43
+
44
+ def screener_apply?
45
+ @is_screener_apply.downcase == 'true'
46
+ end
47
+
48
+ def shared_job?
49
+ @is_shared_job.downcase == 'true'
50
+ end
51
+
52
+ def can_be_quick_applied?
53
+ @can_be_quick_applied.downcase == 'true'
54
+ end
55
+
56
+ def has_questionnaire?
57
+ @has_questionnaire.downcase == 'true'
58
+ end
59
+
60
+ def city
61
+ if @city.empty?
62
+ return @location['City']
63
+ else
64
+ return @city
65
+ end
66
+ end
67
+
68
+ def state
69
+ if @state.empty?
70
+ return @location['State']
71
+ else
72
+ return @state
73
+ end
74
+ end
75
+
27
76
  protected
28
77
 
29
78
  def required_fields
@@ -126,56 +175,6 @@ module Cb
126
175
 
127
176
  end
128
177
 
129
- def find_company
130
- @company ||= Cb::CompanyApi.find_for self
131
- end
132
-
133
- def external_application?
134
- @external_application.downcase == 'true'
135
- end
136
-
137
- def relocation_covered?
138
- @relocation_covered.downcase == 'true'
139
- end
140
-
141
- def manages_others?
142
- @manages_others.downcase == 'true'
143
- end
144
-
145
- def screener_apply?
146
- @is_screener_apply.downcase == 'true'
147
- end
148
-
149
- def shared_job?
150
- @is_shared_job.downcase == 'true'
151
- end
152
-
153
- def can_be_quick_applied?
154
- @can_be_quick_applied.downcase == 'true'
155
- end
156
-
157
- def has_questionnaire?
158
- @has_questionnaire.downcase == 'true'
159
- end
160
-
161
- def city
162
- if @city.empty?
163
- return @location['City']
164
- else
165
- return @city
166
- end
167
- end
168
-
169
- def state
170
- if @state.empty?
171
- return @location['State']
172
- else
173
- return @state
174
- end
175
- end
176
-
177
- protected
178
-
179
178
  def load_extra_fields(args)
180
179
  #for internal use only :)
181
180
  end
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '5.3.0'
2
+ VERSION = '5.3.1'
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.3.0
4
+ version: 5.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: