lib/twilio-ruby/framework/version.rb in twilio-ruby-5.38.0 vs lib/twilio-ruby/framework/version.rb in twilio-ruby-5.39.0
- old
+ new
@@ -55,11 +55,11 @@
def exception(response, header)
Twilio::REST::RestError.new(header, response)
end
- def fetch(method, uri, params = {}, data = {}, headers = {}, auth = nil, timeout = nil)
+ def fetch(method, uri, params: {}, data: {}, headers: {}, auth: nil, timeout: nil)
response = request(
method,
uri,
params,
data,
@@ -91,11 +91,11 @@
end
response.body
end
- def delete(method, uri, params = {}, data = {}, headers = {}, auth = nil, timeout = nil)
+ def delete(method, uri, params: {}, data: {}, headers: {}, auth: nil, timeout: nil)
response = request(
method,
uri,
params,
data,
@@ -125,10 +125,10 @@
page_size: page_size || nil,
page_limit: page_limit
}
end
- def page(method, uri, params = {}, data = {}, headers = {}, auth = nil, timeout = nil)
+ def page(method, uri, params = {}, data = {}, headers: {}, auth: nil, timeout: nil)
request(
method,
uri,
params,
data,