Class: Bundler::Alive::Report

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler/alive/report.rb

Overview

Represents Report

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ Report

A result of report

Parameters:



16
17
18
19
20
21
22
# File 'lib/bundler/alive/report.rb', line 16

def initialize(result)
  @result = result.collection
  @error_messages = result.error_messages
  @rate_limit_exceeded = result.rate_limit_exceeded

  freeze
end

Instance Attribute Details

#error_messagesObject (readonly)

Returns the value of attribute error_messages.



9
10
11
# File 'lib/bundler/alive/report.rb', line 9

def error_messages
  @error_messages
end

#rate_limit_exceededObject (readonly)

Returns the value of attribute rate_limit_exceeded.



9
10
11
# File 'lib/bundler/alive/report.rb', line 9

def rate_limit_exceeded
  @rate_limit_exceeded
end

#resultObject (readonly)

Returns the value of attribute result.



9
10
11
# File 'lib/bundler/alive/report.rb', line 9

def result
  @result
end