Class: Bundler::Alive::Report
- Inherits:
-
Object
- Object
- Bundler::Alive::Report
- Defined in:
- lib/bundler/alive/report.rb
Overview
Represents Report
Instance Attribute Summary collapse
-
#error_messages ⇒ Object
readonly
Returns the value of attribute error_messages.
-
#rate_limit_exceeded ⇒ Object
readonly
Returns the value of attribute rate_limit_exceeded.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ Report
constructor
A result of report.
Constructor Details
#initialize(result) ⇒ Report
A result of report
16 17 18 19 20 21 22 |
# File 'lib/bundler/alive/report.rb', line 16 def initialize(result) @result = result.collection @error_messages = result. @rate_limit_exceeded = result.rate_limit_exceeded freeze end |
Instance Attribute Details
#error_messages ⇒ Object (readonly)
Returns the value of attribute error_messages.
9 10 11 |
# File 'lib/bundler/alive/report.rb', line 9 def @error_messages end |
#rate_limit_exceeded ⇒ Object (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 |
#result ⇒ Object (readonly)
Returns the value of attribute result.
9 10 11 |
# File 'lib/bundler/alive/report.rb', line 9 def result @result end |