Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes

Layout/IndentationWidth:
AllowedPatterns: ['^\s*module']

Layout/LineLength:
Max: 120
6 changes: 3 additions & 3 deletions lib/api_2captcha/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
require 'base64'
require 'open-uri'

class Api2Captcha::Client
module Api2Captcha
class Client
DEFAULT_DOMAIN = "2captcha.com"
BASE_URL_FORMAT = "https://%s"

Expand Down Expand Up @@ -279,5 +280,4 @@ def make_res_request(request, action)
end
end
end


end