Class: Quarantino::Report

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#attributesObject (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