Module: Pureapi

Defined in:
lib/pureapi.rb

Defined Under Namespace

Modules: Controller, Model, MongoidModel, PostgresModel

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Default way to set up Jwtauth. a fresh initializer with all configuration values.

Yields:

  • (_self)

Yield Parameters:

  • _self (Pureapi)

    the object that the method was called on



10
11
12
# File 'lib/pureapi.rb', line 10

def self.setup
  yield self
end