lib/faraday/connection.rb in faraday-2.8.1 vs lib/faraday/connection.rb in faraday-2.9.0
- old
+ new
@@ -13,10 +13,10 @@
# # => #<Faraday::Response>
#
class Connection
# A Set of allowed HTTP verbs.
METHODS = Set.new %i[get post put delete head patch options trace]
- USER_AGENT = "Faraday v#{VERSION}"
+ USER_AGENT = "Faraday v#{VERSION}".freeze
# @return [Hash] URI query unencoded key/value pairs.
attr_reader :params
# @return [Hash] unencoded HTTP header key/value pairs.