Class: Authenticator::Client::Mock
- Inherits:
-
Object
- Object
- Authenticator::Client::Mock
- Defined in:
- lib/authenticator/client/mock.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
- #authenticate(_account) ⇒ Object
-
#initialize(params) ⇒ Mock
constructor
A new instance of Mock.
Constructor Details
#initialize(params) ⇒ Mock
Returns a new instance of Mock.
8 9 10 |
# File 'lib/authenticator/client/mock.rb', line 8 def initialize(params) @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
7 8 9 |
# File 'lib/authenticator/client/mock.rb', line 7 def params @params end |
Instance Method Details
#authenticate(_account) ⇒ Object
12 13 14 |
# File 'lib/authenticator/client/mock.rb', line 12 def authenticate(_account) mock_response end |