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

- (NilClass) password

Returns always nil.

Returns:

  • (NilClass)


138
139
140
# File 'lib/coach4rb/proxy.rb', line 138

def password
  nil
end

- (NilClass) username

Returns always nil.

Returns:

  • (NilClass)


130
131
132
# File 'lib/coach4rb/proxy.rb', line 130

def username
  nil
end

- (FalseClass) valid?

Returns always false.

Returns:

  • (FalseClass)


122
123
124
# File 'lib/coach4rb/proxy.rb', line 122

def valid?
  false
end