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.



127
128
129
130
# File 'lib/hammer_cli_foreman/testing/api_expectations.rb', line 127

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

Instance Attribute Details

#authenticatorObject (readonly)

Returns the value of attribute authenticator.



125
126
127
# File 'lib/hammer_cli_foreman/testing/api_expectations.rb', line 125

def authenticator
  @authenticator
end