Skip to content

Commit 38549ee

Browse files
authored
Fix misspelled key name, exptected_response (#446)
1 parent 04662a7 commit 38549ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/yt/actions/get.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_params
2424
params[:method] = :get
2525
params[:host] = 'www.googleapis.com'
2626
params[:auth] = @auth
27-
params[:exptected_response] = Net::HTTPOK
27+
params[:expected_response] = Net::HTTPOK
2828
params[:api_key] = Yt.configuration.api_key if Yt.configuration.api_key
2929
end
3030
end

lib/yt/actions/list.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def list_params
117117
params[:host] = 'www.googleapis.com'
118118
params[:auth] = @auth
119119
params[:path] = path
120-
params[:exptected_response] = Net::HTTPOK
120+
params[:expected_response] = Net::HTTPOK
121121
params[:api_key] = Yt.configuration.api_key if Yt.configuration.api_key
122122
end
123123
end

0 commit comments

Comments
 (0)