Class: Authenticator::Client::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/authenticator/client/mock.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#paramsObject (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()
  mock_response
end