Class: ForestLiana::StatGetter

Inherits:
Object
  • Object
show all
Defined in:
app/services/forest_liana/stat_getter.rb

Direct Known Subclasses

LineStatGetter, PieStatGetter, ValueStatGetter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource, params) ⇒ StatGetter

Returns a new instance of StatGetter.



5
6
7
8
# File 'app/services/forest_liana/stat_getter.rb', line 5

def initialize(resource, params)
  @resource = resource
  @params = params
end

Instance Attribute Details

#recordObject

Returns the value of attribute record.



3
4
5
# File 'app/services/forest_liana/stat_getter.rb', line 3

def record
  @record
end