spaceship/lib/spaceship/connect_api/response.rb in fastlane_hotfix-2.165.1 vs spaceship/lib/spaceship/connect_api/response.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -4,14 +4,16 @@
class ConnectAPI
class Response
include Enumerable
attr_reader :body
attr_reader :status
+ attr_reader :headers
attr_reader :client
- def initialize(body: nil, status: nil, client: nil)
+ def initialize(body: nil, status: nil, headers: nil, client: nil)
@body = body
@status = status
+ @headers = headers
@client = client
end
def next_url
return nil if body.nil?