Class: HammerCLIForeman::Testing::APIExpectations::FakeApiConnection
- Inherits:
-
HammerCLI::Apipie::ApiConnection
- Object
- HammerCLI::Apipie::ApiConnection
- HammerCLIForeman::Testing::APIExpectations::FakeApiConnection
- Defined in:
- lib/hammer_cli_foreman/testing/api_expectations.rb
Instance Attribute Summary collapse
-
#authenticator ⇒ Object
readonly
Returns the value of attribute authenticator.
Instance Method Summary collapse
-
#initialize(params, options = {}) ⇒ FakeApiConnection
constructor
A new instance of FakeApiConnection.
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, = {}) @authenticator = params[:authenticator] super end |
Instance Attribute Details
#authenticator ⇒ Object (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 |