Class: ForestLiana::StatGetter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseGetter

#get_collection, #get_resource, #includes_for_serialization

Constructor Details

#initialize(resource, params, forest_user) ⇒ StatGetter

Returns a new instance of StatGetter.


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

def initialize(resource, params, forest_user)
  @resource = resource
  @params = params
  @user = forest_user
  compute_includes()
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