Class: Nexmo::KeySecretParams

Inherits:
AbstractAuthentication show all
Defined in:
lib/nexmo/authentication/key_secret_params.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from AbstractAuthentication

#initialize

Constructor Details

This class inherits a constructor from Nexmo::AbstractAuthentication

Instance Method Details

#update(object) ⇒ Object



3
4
5
6
7
8
# File 'lib/nexmo/authentication/key_secret_params.rb', line 3

def update(object)
  return unless object.is_a?(Hash)

  object[:api_key] = @client.api_key
  object[:api_secret] = @client.api_secret
end