Class: Twilio::REST::NoAuthStrategy

Inherits:
AuthStrategy show all
Defined in:
lib/twilio-ruby/auth_strategy/no_auth_strategy.rb

Instance Attribute Summary

Attributes inherited from AuthStrategy

#auth_type

Instance Method Summary collapse

Constructor Details

#initializeNoAuthStrategy

Returns a new instance of NoAuthStrategy.



4
5
6
# File 'lib/twilio-ruby/auth_strategy/no_auth_strategy.rb', line 4

def initialize
  super(AuthType::NONE)
end

Instance Method Details

#auth_stringObject



8
9
10
# File 'lib/twilio-ruby/auth_strategy/no_auth_strategy.rb', line 8

def auth_string
  ''
end

#requires_authenticationObject



12
13
14
# File 'lib/twilio-ruby/auth_strategy/no_auth_strategy.rb', line 12

def requires_authentication
  false
end