Class: PassaporteWeb::Resources::Base

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

Overview

Default root for all resource classes.

Direct Known Subclasses

Profile, SignUp, Widget

Instance Method Summary collapse

Constructor Details

#initialize(api) ⇒ Base

Creates an instance of this class.

Parameters:

  • api (api)

    An instance of OAuth2::AccessToken


6
7
8
# File 'lib/passaporte_web/resources/base.rb', line 6

def initialize(api)
  @api = api
end