Sha256: eaa396450b6b9694d10dcec34063bb5d22ffb253813fe2966faeec41f0fb222e
Contents?: true
Size: 670 Bytes
Versions: 37
Compression:
Stored size: 670 Bytes
Contents
# frozen_string_literal: true # :reek:Attribute # :reek:ClassVariable module Evostream # DSL configuration for this gem class Service mattr_accessor :web_root, :uri_in, :uri_out, :name, :model, :model_id, :environment def self.configuration(&block) block.call(self) end # 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 def self.environment @@environment || :test end def self.web_root @@web_root || '/var/www/html' end end end
Version data entries
37 entries across 37 versions & 1 rubygems