Class: NexaasID::Client::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/nexaas_id/client/base.rb

Direct Known Subclasses

Application, Identity

Instance Method Summary collapse

Constructor Details

#initialize(config = nil) ⇒ Base

Returns a new instance of Base.


2
3
4
# File 'lib/nexaas_id/client/base.rb', line 2

def initialize(config = nil)
  @config = config || NexaasID.default_configuration
end

Instance Method Details

#sign_upNexaasID::Resources::SignUp

Provides a SignUp resource.

Returns:


8
9
10
# File 'lib/nexaas_id/client/base.rb', line 8

def 
  NexaasID::Resources::SignUp.new(api_token, config)
end