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-3.0.6 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-3.0.5 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-3.0.4 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-3.0.3 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-3.0.2 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-3.0.1 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-3.0.0 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.25 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.24 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.23 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.22 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.21 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.20 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.19 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.18 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.17 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.16 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.15 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.14 lib/eco/api/usecases/graphql/helpers/base/case_env.rb
eco-helpers-2.7.13 lib/eco/api/usecases/graphql/helpers/base/case_env.rb