Sha256: 7a81d4946eb7aae86bb078c31d82cf5f5b454c783a2d9c5cde0738e2c616ec48
Contents?: true
Size: 816 Bytes
Versions: 27
Compression:
Stored size: 816 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 def configure yield self end end end end
Version data entries
27 entries across 27 versions & 1 rubygems