Sha256: f213ce61af3c93d67956515d47872caa91ea808017501c54ed80cf41eba135df

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module TwilioBase
  class ApiKey
    FRIENDLY_NAME = 'front-end key'

    class << self
      include TwilioBase::Clients

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio_base-1.11.1101 app/services/twilio_base/api_key.rb
twilio_base-1.11.11 app/services/twilio_base/api_key.rb
twilio_base-1.9.0 app/services/twilio_base/api_key.rb
twilio_base-1.8.0 app/services/twilio_base/api_key.rb