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.
127 128 129 130 |
# File 'lib/hammer_cli_foreman/testing/api_expectations.rb', line 127 def initialize(params, = {}) @authenticator = params[:authenticator] super end |
Instance Attribute Details
#authenticator ⇒ Object (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 |