Class: Cryptoform::Server

Inherits:
Sinatra::Application
  • Object
show all
Defined in:
lib/cryptoform/server.rb

Defined Under Namespace

Classes: Encoder

Class Method Summary collapse

Class Method Details

.run!(config) ⇒ Object



19
20
21
22
23
# File 'lib/cryptoform/server.rb', line 19

def run!(config, **)
  Cryptoform::Server.port = config.port
  Cryptoform::Server.set(:states, config.states)
  super(**)
end