Sha256: 3ff58e219ebb1c3ff597efd0934a44f6cd2e66eb162326df97ebca90b6fe77f1
Contents?: true
Size: 554 Bytes
Versions: 6
Compression:
Stored size: 554 Bytes
Contents
module Mirage class Template class Configuration attr_accessor :http_method, :status, :delay, :content_type, :default DEFAULT_HTTP_METHOD=:get DEFAULT_STATUS=200 DEFAULT_DELAY=0 DEFAULT_CONTENT_TYPE="text/plain" DEFAULT_DEFAULT=false def initialize reset end def reset @http_method = DEFAULT_HTTP_METHOD @status = DEFAULT_STATUS @delay = DEFAULT_DELAY @content_type = DEFAULT_CONTENT_TYPE @default = DEFAULT_DEFAULT end end end end
Version data entries
6 entries across 6 versions & 1 rubygems