Sha256: 80bd512ec23c605a0757aa3e09efca23303e23d50cc2c416e9362e8370b01def
Contents?: true
Size: 681 Bytes
Versions: 1
Compression:
Stored size: 681 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, :response_format def self.configuration(&block) block.call(self) end # Environment for this gem # :test -- Dont send command to EvoStream instance # :production -- Execute command HTTP def self.environment @@environment || :test end def self.web_root @@web_root || '/var/www/html' end def self.response_format @@response_format || :json end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evostream-event-0.2.7.pre.44 | lib/evostream/event/service.rb |