Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan Hu authored and Stan Hu committed Dec 11, 2015
1 parent 2212da0 commit 4fdfc62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ghee/resource_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def paginate(options)

parse_link_header response.headers.delete("link")

return self
return self
end

def all
Expand All @@ -132,7 +132,7 @@ def all_parallel
end
end
end
requests.inject([]) do |results, page|
requests.inject([]) do |results, page|
results.concat(page.body)
end
end
Expand All @@ -145,11 +145,11 @@ def all_parallel
end

def build_prefix(first_argument, endpoint)
(!first_argument.is_a?(Hash) && !first_argument.nil?) ?
(!first_argument.is_a?(Hash) && !first_argument.nil?) ?
File.join(path_prefix, "/#{endpoint}/#{first_argument}") : File.join(path_prefix, "/#{endpoint}")
end

private
private

def pagination_data(header)
parse_link_header header
Expand Down

0 comments on commit 4fdfc62

Please sign in to comment.