class TestCase

Attributes

data_path[RW]
debug[RW]
headers[RW]
name[RW]
success[RW]
type[RW]
url[RW]

Public Class Methods

new(args) click to toggle source
# File lib/value_object.rb, line 6
def initialize(args)
  obj = OpenStruct.new(args)
  @name = obj.name
  @url = obj.url
  @headers = obj.headers || {}
  @type = obj.type || "GET"
  @data_path = obj.data_path
  @success = obj.success
  @debug = obj.debug
end

Public Instance Methods

get_binding() click to toggle source
# File lib/value_object.rb, line 17
def get_binding
  binding
end