class MockWebService::ResponseOptions

Attributes

content_type[RW]
headers[RW]
method[RW]
path[RW]
status[RW]

Public Class Methods

new() { |self| ... } click to toggle source
# File lib/mock-web-service/response_options.rb, line 5
def initialize
  self.method = :get
  self.path = '/'
  self.status = 200
  self.content_type = 'text/html;charset=utf-8'
  self.headers = {}

  yield self if block_given?
end