class Pact::Hal::NonJsonEntity

Public Class Methods

new(href, body, http_client, response = nil) click to toggle source
# File lib/pact/hal/non_json_entity.rb, line 4
def initialize(href, body, http_client, response = nil)
  @href = href
  @body = body
  @client = http_client
  @response = response
end

Public Instance Methods

assert_success!() click to toggle source
# File lib/pact/hal/non_json_entity.rb, line 23
def assert_success!
  self
end
body() click to toggle source
# File lib/pact/hal/non_json_entity.rb, line 19
def body
  @body
end
response() click to toggle source
# File lib/pact/hal/non_json_entity.rb, line 15
def response
  @response
end
success?() click to toggle source
# File lib/pact/hal/non_json_entity.rb, line 11
def success?
  true
end