Skip to content

Commit

Permalink
Merge pull request emorikawa#23 from sixofhearts/patch-1
Browse files Browse the repository at this point in the history
Fix bad endpoint path
  • Loading branch information
emorikawa committed Dec 11, 2014
2 parents 5437d10 + 4385d84 commit b4b0de9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/linked_in/search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class Search < APIResource
# You can use the same API to search through Companies and Jobs.
#
# @!macro search_options
# @options opts [String] :type either "people", "companies", or
# "jobs"
# @options opts [String] :type either "people", "company", or
# "job"
# @options opts [String] :keywords various keywords to search for
# @options opts [Array, Hash] :fields fields to fetch. The
# list of fields can be found at
Expand All @@ -35,7 +35,7 @@ class Search < APIResource
# @overload search(keyword_string, type)
# Keyword search through people
# @param [String] keywords search keywords
# @param [String] type either "people", "companies", or "jobs"
# @param [String] type either "people", "company", or "job"
# @overload search(opts)
# Searches based on various options
# @param [Hash] opts search options
Expand All @@ -44,7 +44,7 @@ class Search < APIResource
# Searches for a type based on various options
# @param [Hash] opts search options
# @macro search_options
# @param [String] type either "people", "companies", or "jobs"
# @param [String] type either "people", "company", or "job"
def search(options={}, type='people')
options, type = prepare_options(options, type)
path = "/#{type.to_s}-search"
Expand Down

0 comments on commit b4b0de9

Please sign in to comment.