Method: Vonage::Config#signature_secret
- Defined in:
- lib/vonage/config.rb
#signature_secret ⇒ Object
171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/vonage/config.rb', line 171 def signature_secret @signature_secret = T.let(@signature_secret, T.nilable(String)) unless @signature_secret raise AuthenticationError.new('No signature_secret provided. ' \ 'You can find your signature secret in the Vonage dashboard. ' \ 'See https://developer.nexmo.com/concepts/guides/signing-messages for details, ' \ 'or email [email protected] if you have any questions.') end @signature_secret end |