Class: Coach4rb::Proxy::InvalidAccess

Inherits:
Base
  • Object
show all
Defined in:
lib/coach4rb/proxy.rb

Overview

This class provides an invalid access proxy which will always fail.

Instance Attribute Summary

Attributes inherited from Base

#coach

Instance Method Summary collapse

Methods inherited from Base

#initialize, #method_missing, #proxy_options

Methods included from Mixin::BasicAuth

included

Constructor Details

This class inherits a constructor from Coach4rb::Proxy::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Coach4rb::Proxy::Base

Instance Method Details

#passwordNilClass

Returns always nil.

Returns:

  • (NilClass)


134
135
136
# File 'lib/coach4rb/proxy.rb', line 134

def password
  nil
end

#usernameNilClass

Returns always nil.

Returns:

  • (NilClass)


126
127
128
# File 'lib/coach4rb/proxy.rb', line 126

def username
  nil
end

#valid?FalseClass

Returns always false.

Returns:

  • (FalseClass)


118
119
120
# File 'lib/coach4rb/proxy.rb', line 118

def valid?
  false
end