Sha256: 75b3b72a41ed2888d49b6bf6e0281d02f4931ffd5be366dcbafad3428760fdb6

Contents?: true

Size: 357 Bytes

Versions: 55

Compression:

Stored size: 357 Bytes

Contents

module ForestLiana
  class StatGetter
    attr_accessor :record

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

    private

    def includes
      SchemaUtils.one_associations(@resource)
        .select { |association| SchemaUtils.model_included?(association.klass) }
        .map(&:name)
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
forest_liana-1.7.6 app/services/forest_liana/stat_getter.rb
forest_liana-1.7.5 app/services/forest_liana/stat_getter.rb
forest_liana-1.7.4 app/services/forest_liana/stat_getter.rb
forest_liana-1.7.3 app/services/forest_liana/stat_getter.rb
forest_liana-1.7.2 app/services/forest_liana/stat_getter.rb
forest_liana-1.7.1 app/services/forest_liana/stat_getter.rb
forest_liana-1.7.0 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.17 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.16 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.15 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.14 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.13 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.12 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.11 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.10 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.7 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.6 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.5 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.4 app/services/forest_liana/stat_getter.rb
forest_liana-1.6.3 app/services/forest_liana/stat_getter.rb