class Evostream::Service

DSL configuration for this gem

Public Class Methods

configuration(&block) click to toggle source
# File lib/evostream/event/service.rb, line 12
def self.configuration(&block)
  block.call(self)
end
environment() click to toggle source

Environment for this gem :test – Dont send command to EvoStream instance :development – Dont send command to EvoStream instance and write logs :production – Execute command HTTP

# File lib/evostream/event/service.rb, line 20
def self.environment
  @@environment || :test
end
web_root() click to toggle source
# File lib/evostream/event/service.rb, line 24
def self.web_root
  @@web_root || '/var/www/html'
end