Class: NexaasID::Resources::Base

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

Overview

Default root for all resource classes.

Direct Known Subclasses

Profile, SignUp, Widget

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api, config) ⇒ Base

Creates an instance of this class.

Parameters:

  • api (api)

    An instance of OAuth2::AccessToken


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

def initialize(api, config)
  @api = api
  @configuration = config
end

Instance Attribute Details

#configurationObject (readonly)

Returns the value of attribute configuration


3
4
5
# File 'lib/nexaas_id/resources/base.rb', line 3

def configuration
  @configuration
end