Module: ActiveResourceResponse::HttpMock::Response
- Defined in:
- lib/active_resource_response/http_mock.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
to avoid methods conflict with Net:HttpResponse and ActiveResource::Response (HttpMock).
Class Method Details
.included(base) ⇒ Object
to avoid methods conflict with Net:HttpResponse and ActiveResource::Response (HttpMock)
28 29 30 31 32 33 34 |
# File 'lib/active_resource_response/http_mock.rb', line 28 def self.included(base) base.class_eval do def to_hash @headers end end end |