Class: Authentication::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/haveapi/go_client/authentication/base.rb

Class Method Summary collapse

Instance Method Summary collapse

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

Parameters:

  • name (Symbol)


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

Parameters:

  • dst (String)

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/haveapi/go_client/authentication/base.rb', line 11

def generate(dst)
  raise NotImplementedError
end