Module: Eco::API::UseCases::GraphQL::Helpers::Base::CaseEnv
- Includes:
- Language::AuxiliarLogger
- Included in:
- Eco::API::UseCases::GraphQL::Helpers::Base, Utils::Sftp
- Defined in:
- lib/eco/api/usecases/graphql/helpers/base/case_env.rb
Overview
Basic stuff you would need in any use case
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#session ⇒ Object
readonly
Returns the value of attribute session.
Attributes included from Language::AuxiliarLogger
Instance Method Summary collapse
Methods included from Language::AuxiliarLogger
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/eco/api/usecases/graphql/helpers/base/case_env.rb', line 5 def @options end |
#session ⇒ Object (readonly)
Returns the value of attribute session.
5 6 7 |
# File 'lib/eco/api/usecases/graphql/helpers/base/case_env.rb', line 5 def session @session end |
Instance Method Details
#config ⇒ Object
7 8 9 |
# File 'lib/eco/api/usecases/graphql/helpers/base/case_env.rb', line 7 def config session.config end |
#simulate? ⇒ Boolean
11 12 13 |
# File 'lib/eco/api/usecases/graphql/helpers/base/case_env.rb', line 11 def simulate? .dig(:simulate) end |