cb-api 1.2.4 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzFjY2I3ZmMzODM1NzBkZjdiMzhlYWFlOWRhZDdkZDYyNTIzNGNiNQ==
4
+ NzY0NDIyOGJmNzgzNWE1NzI1MDcxMmIyYjcxZjQzZmI4NGQ0OGI4OQ==
5
5
  data.tar.gz: !binary |-
6
- MzcxY2JhMzVhYmYwOWZmYjFkNDBmMWZmZDU0NDdmNjlhYzZjN2IzOQ==
6
+ Mjc4NjAxNzI3YzNjOGJjZmNjZDNjY2M4MjMyNGE5OGViOGJjZGRlMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzQ1MTY1ZjE3ZGQxOTJiNGZkZDRhNDI5YjQwODQzMGFkMWZiMTY3MDMxYzVk
10
- YzgyYzg0NDFlOGQ5M2FjYmY3NmEzM2FhYTcwMTlhN2Y2ZmUyZDNiYzFkMzlj
11
- MmMyNGU0MmEwNTNjOWFlM2Q3YjBlN2VkMmUyYzE0ZGE4NTI5Zjc=
9
+ MWE1ODI4NTQ1MjQzYTM2ODZiN2RkY2M2OGJjODBlNDFlZjlmMzEyM2I4OTUz
10
+ YTZiZTE0OTBjMDViNjJhZDRjMTRlMjNkNzFkOTVhN2MzNmJkNzhlMjIzZTc2
11
+ YTNkZTQ5NTgwNDUwZDE3MmQ3ZGU1MjY1ZjIzMGM4ZTdjYTVjMjA=
12
12
  data.tar.gz: !binary |-
13
- MWIzMjkwMWY5NThmNzM2MzRmNTU5N2U3ZmRlMjk4OTJjOTJlZjI5ZjUxYzhk
14
- ODgzNGYwMDFlZWY0YjM4N2JhNjRhMzFjMjg5YzFmZDRlMTFkZWMwYzc1NGE4
15
- NTVjNjMxNTZhNDJkNjhkMWRjYjIyNzUyMzFhM2MwMGZkZWVhNjY=
13
+ YjlmZjJlNjRiMTU0YjBkM2FjZTQwMTEwZWUwYjNiOGFkOTMwMzFiNGJkMGU2
14
+ MTI0OWI1MmM4ZDA0MGJhZjVlOTBiNzIzZGNmOTA4YzU2NzgxOGYyNjUzNjY5
15
+ MTFlZmRiZjEyZjFmNDc1OTQ1NmM1MDVlYjc0ZTM4MmViMDM5ZDM=
@@ -10,7 +10,7 @@ module Cb
10
10
  :details_url, :service_url, :similar_jobs_url, :apply_url,
11
11
  :begin_date, :end_date, :posted_date,
12
12
  :relevancy, :state, :city, :zip,
13
- :can_be_quick_applied, :apply_requirements,
13
+ :can_be_quick_applied, :apply_requirements, :custom_apply_type,
14
14
  :divison, :industry, :location_street_1, :relocation_options, :location_street_2, :display_job_id,
15
15
  :manages_others_string,
16
16
  :degree_required_code, :travel_required_code, :employment_type_code
@@ -98,6 +98,7 @@ module Cb
98
98
  @is_screener_apply = args['IsScreenerApply'] || ''
99
99
  @is_shared_job = args['IsSharedJob'] || ''
100
100
  @can_be_quick_applied = args['CanBeQuickApplied'] || ''
101
+ @custom_apply_type = args['CustomApplyType'] || ''
101
102
  @apply_requirements = Cb::Utils::ResponseArrayExtractor.extract(args, 'ApplyRequirements')
102
103
 
103
104
  # Company related
@@ -128,27 +129,31 @@ module Cb
128
129
  end
129
130
 
130
131
  def external_application?
131
- @external_application.downcase == 'true' ? true : false
132
+ @external_application.downcase == 'true'
132
133
  end
133
134
 
134
135
  def relocation_covered?
135
- @relocation_covered.downcase == 'true' ? true : false
136
+ @relocation_covered.downcase == 'true'
136
137
  end
137
138
 
138
139
  def manages_others?
139
- @manages_others.downcase == 'true' ? true : false
140
+ @manages_others.downcase == 'true'
140
141
  end
141
142
 
142
143
  def screener_apply?
143
- @is_screener_apply.downcase == 'true' ? true : false
144
+ @is_screener_apply.downcase == 'true'
145
+ end
146
+
147
+ def skip_resume?
148
+ @custom_apply_type.downcase == 'caskipresume'
144
149
  end
145
150
 
146
151
  def shared_job?
147
- @is_shared_job.downcase == 'true' ? true : false
152
+ @is_shared_job.downcase == 'true'
148
153
  end
149
154
 
150
155
  def can_be_quick_applied?
151
- @can_be_quick_applied.downcase == 'true' ? true : false
156
+ @can_be_quick_applied.downcase == 'true'
152
157
  end
153
158
 
154
159
  def city
@@ -1,3 +1,3 @@
1
1
  module Cb
2
- VERSION = '1.2.4'
2
+ VERSION = '1.3.4'
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: 1.2.4
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Retchko
@@ -18,7 +18,7 @@ authors:
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
- date: 2014-02-07 00:00:00.000000000 Z
21
+ date: 2014-02-20 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: httparty