Module: Eco::API::Session::Config::Apis::OneOff

Included in:
Eco::API::Session::Config::Apis
Defined in:
lib/eco/api/session/config/apis/one_off.rb

Instance Method Summary collapse

Instance Method Details

#one_off?Boolean

Returns:

  • (Boolean)


7
8
9
10
11
# File 'lib/eco/api/session/config/apis/one_off.rb', line 7

def one_off?
  @is_one_off ||= # rubocop:disable Naming/MemoizedInstanceVariableName
    SCR.get_arg('-api-key') ||
    SCR.get_arg('-one-off')
end