Skip to content

Commit

Permalink
Merge pull request #4 from karolkrol/fix-3-XingApi
Browse files Browse the repository at this point in the history
Fixed problem with XingAPI.
  • Loading branch information
pmantaj authored Jun 14, 2016
2 parents c8db15d + 5ad9386 commit 71a0582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/hawatel_search_jobs/api/xing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def set_attributes(args)
# @return [Array<OpenStruct>]
def parse_raw_data(result)
jobs = Array.new
return jobs if result['jobs'].to_s.empty?
return jobs if result[:jobs].to_s.empty?
result[:jobs][:items].each do |offer|
job = Hash.new
job[:jobtitle] = offer[:title]
Expand Down
2 changes: 1 addition & 1 deletion lib/hawatel_search_jobs/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module HawatelSearchJobs
VERSION = "0.1.1"
VERSION = "0.1.2"
end

0 comments on commit 71a0582

Please sign in to comment.