Class: HammerCLIForeman::Testing::APIExpectations::FakeApiConnection

Inherits:
HammerCLI::Apipie::ApiConnection
  • Object
show all
Defined in:
lib/hammer_cli_foreman/testing/api_expectations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params, options = {}) ⇒ FakeApiConnection

Returns a new instance of FakeApiConnection.



152
153
154
155
# File 'lib/hammer_cli_foreman/testing/api_expectations.rb', line 152

def initialize(params, options = {})
  @authenticator = params[:authenticator]
  super
end

Instance Attribute Details

#authenticatorObject (readonly)

Returns the value of attribute authenticator.



150
151
152
# File 'lib/hammer_cli_foreman/testing/api_expectations.rb', line 150

def authenticator
  @authenticator
end