Sha256: c1379bd1121a8f88f64e0146460f947c194d53196a33fcb903c673bc1bcf7ae2

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

module Mirage

  class Template
    module Model
      module CommonMethods
        extend Helpers::MethodBuilder

        builder_methods :content_type,
                        :http_method,
                        :default,
                        :status,
                        :delay,
                        :required_parameters,
                        :required_body_content,
                        :required_headers,
                        :headers,
                        :endpoint,
                        :body

        alias value body
      end

    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mirage-3.0.0.alpha.7 lib/mirage/client/template/model/common_methods.rb