Class: Quarantino::Report
- Inherits:
-
Object
- Object
- Quarantino::Report
- Defined in:
- lib/quarantino/report.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(params) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(params) ⇒ Report
Returns a new instance of Report.
11 12 13 |
# File 'lib/quarantino/report.rb', line 11 def initialize(params) @attributes ||= request(params) end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
3 4 5 |
# File 'lib/quarantino/report.rb', line 3 def attributes @attributes end |
Class Method Details
.create(params) ⇒ Object
6 7 8 |
# File 'lib/quarantino/report.rb', line 6 def create(params) Quarantino.new(params) end |