Class: Authentication::Base
- Inherits:
-
Object
- Object
- Authentication::Base
- Defined in:
- lib/haveapi/go_client/authentication/base.rb
Direct Known Subclasses
Basic, OAuth2, Token, HaveAPI::GoClient::Authentication::Unsupported
Class Method Summary collapse
Instance Method Summary collapse
- #generate(dst) ⇒ Object
-
#initialize(api_version, name, desc) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(api_version, name, desc) ⇒ Base
Returns a new instance of Base.
8 |
# File 'lib/haveapi/go_client/authentication/base.rb', line 8 def initialize(api_version, name, desc); end |
Class Method Details
.register(name) ⇒ Object
4 5 6 |
# File 'lib/haveapi/go_client/authentication/base.rb', line 4 def self.register(name) AuthenticationMethods.register(name, self) end |
Instance Method Details
#generate(dst) ⇒ Object
11 12 13 |
# File 'lib/haveapi/go_client/authentication/base.rb', line 11 def generate(dst) raise NotImplementedError end |