Sha256: 6cbd19f39ec2730699fba090fec9e6af36b673c9568916ee8441df5b9471e260

Contents?: true

Size: 330 Bytes

Versions: 25

Compression:

Stored size: 330 Bytes

Contents

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

    private

    attr_reader :session, :options

    def config
      session.config
    end

    def simulate?
      options[:simulate]
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
eco-helpers-2.7.12 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.4 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.2 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.1 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.0 lib/eco/api/usecases/graphql/helpers/base/case_env.rb