class Vonage::KeySecretParams
Public Instance Methods
update(object)
click to toggle source
# File lib/vonage/key_secret_params.rb, line 10 def update(object) return unless object.is_a?(Hash) @config = T.let(@config, T.nilable(Vonage::Config)) object[:api_key] = T.must(@config).api_key object[:api_secret] = T.must(@config).api_secret end