Class: MobilyApiRequestStub
- Inherits:
-
Object
- Object
- MobilyApiRequestStub
- Defined in:
- lib/mobily/test/tc_json_request_handler.rb
Instance Method Summary collapse
-
#initialize(fake_response) ⇒ MobilyApiRequestStub
constructor
A new instance of MobilyApiRequestStub.
- #send(request_data, content_type) ⇒ Object
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 |