Sha256: 217d0fd55164781f990ee61045ecfb801f4bfbbb4da7dfaf98f593cbe6c97b04
Contents?: true
Size: 828 Bytes
Versions: 8
Compression:
Stored size: 828 Bytes
Contents
require 'logger' module Shutl::Resource class << self attr_writer :raise_exceptions_on_validation, :raise_exceptions_on_no_quotes_generated def raise_exceptions_on_validation if @raise_exceptions_on_validation.nil? @raise_exceptions_on_validation = false end @raise_exceptions_on_validation end def raise_exceptions_on_no_quotes_generated if @raise_exceptions_on_no_quotes_generated.nil? @raise_exceptions_on_no_quotes_generated = true end @raise_exceptions_on_no_quotes_generated end end def configure(*args, &block) Configuration.configure(*args, &block) end module Configuration class << self attr_accessor :base_uri, :logger, :proxy_uri def configure yield self end end end end
Version data entries
8 entries across 8 versions & 1 rubygems