Skip to content

Commit

Permalink
Appease rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
liaden committed Jul 3, 2019
1 parent d9ac090 commit 47ec613
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Naming/AccessorMethodName:
- 'lib/api_auth/request_drivers/net_http.rb'
- 'lib/api_auth/request_drivers/rack.rb'
- 'lib/api_auth/request_drivers/rest_client.rb'
- 'lib/api_auth/request_drivers/typhoeus_request.rb'

# Offense count: 3
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
Expand Down
5 changes: 2 additions & 3 deletions lib/api_auth/request_drivers/typhoeus_request.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module ApiAuth
module RequestDrivers
class TyphoeusRequest
module RequestDrivers # :nodoc:
class TyphoeusRequest # :nodoc:
include ApiAuth::Helpers

def initialize(request)
@request = request
fetch_headers
true
end

def set_auth_header(header)
Expand Down
1 change: 0 additions & 1 deletion spec/request_drivers/typhoeus_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,4 @@
expect(driven_request.fetch_headers).to include('CONTENT-TYPE' => 'text/plain')
end
end

end

0 comments on commit 47ec613

Please sign in to comment.