Class: MobilyApiRequestStub

Inherits:
Object
  • Object
show all
Defined in:
lib/mobily/test/tc_json_request_handler.rb

Instance Method Summary collapse

Constructor Details

#initialize(fake_response) ⇒ MobilyApiRequestStub

Returns a new instance of MobilyApiRequestStub.



66
67
68
# File 'lib/mobily/test/tc_json_request_handler.rb', line 66

def initialize(fake_response)
  @fake_response = fake_response
end

Instance Method Details

#send(request_data, content_type) ⇒ Object



70
71
72
# File 'lib/mobily/test/tc_json_request_handler.rb', line 70

def send(request_data, content_type)
  @fake_response
end