Class: TwilioBase::ApiKey

Inherits:
Object
  • Object
show all
Extended by:
Clients
Defined in:
app/services/twilio_base/api_key.rb

Constant Summary collapse

FRIENDLY_NAME =
'front-end key'

Constants included from Clients

Clients::ACCOUNT_SID, Clients::AUTH_TOKEN

Class Method Summary collapse

Methods included from Clients

chat_client, config, rest_client, sms_client

Class Method Details

.createObject



10
11
12
# File 'app/services/twilio_base/api_key.rb', line 10

def create
  rest_client.new_keys.create(friendly_name: FRIENDLY_NAME)
end