Sha256: 377e9aff557519b00d09a8dcc62877028e15d0b2cb2757d531a4068b9be99c41

Contents?: true

Size: 317 Bytes

Versions: 12

Compression:

Stored size: 317 Bytes

Contents

module Eco::API::UseCases::GraphQL::Helpers::Base
  # Basic stuff you would need in any use case
  module CaseEnv
    include Eco::Language::AuxiliarLogger
    attr_reader :session, :options

    def config
      session.config
    end

    def simulate?
      options.dig(:simulate)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
eco-helpers-2.6.4 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.6.3 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.6.2 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.6.1 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.6.0 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.5.10 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.5.9 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.5.8 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.5.7 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.5.6 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.5.5 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.5.4 lib/eco/api/usecases/graphql/helpers/base/case_env.rb