Class: ForestLiana::Bootstraper

Inherits:
Object
  • Object
show all
Defined in:
lib/forest_liana/bootstraper.rb

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ Bootstraper

Returns a new instance of Bootstraper.



4
5
6
7
# File 'lib/forest_liana/bootstraper.rb', line 4

def initialize(app)
  @app = app
  @logger = Logger.new(STDOUT)
end

Instance Method Details

#performObject



9
10
11
12
13
14
15
16
# File 'lib/forest_liana/bootstraper.rb', line 9

def perform
  create_serializers

  if ForestLiana.jwt_signing_key
    create_apimap
    send_apimap
  end
end