Class: Nexmo::SMS

Inherits:
Namespace show all
Includes:
Keys
Defined in:
lib/nexmo/sms.rb

Instance Method Summary collapse

Methods included from Keys

#camelcase, #camelcase_key, #hyphenate, #hyphenate_key

Methods inherited from Namespace

authentication, authentication=, host, host=, #initialize, request_body, request_body=

Constructor Details

This class inherits a constructor from Nexmo::Namespace

Instance Method Details

#send(params) ⇒ Object



9
10
11
# File 'lib/nexmo/sms.rb', line 9

def send(params)
  request('/sms/json', params: hyphenate(params), type: Post)
end