Class: CoreLibrary::HttpResponseFactory
- Inherits:
 - 
      ResponseFactory
      
        
- Object
 - ResponseFactory
 - CoreLibrary::HttpResponseFactory
 
 
- Defined in:
 - lib/apimatic-core/factories/http_response_factory.rb
 
Overview
Factory to create an instance of HttpResponse
Instance Method Summary collapse
- 
  
    
      #create(_status_code, _reason_phrase, _headers, _raw_body, _request)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
The factory method for creating HttpResponse type.
 
Instance Method Details
#create(_status_code, _reason_phrase, _headers, _raw_body, _request) ⇒ Object
The factory method for creating HttpResponse type.
      10 11 12  | 
    
      # File 'lib/apimatic-core/factories/http_response_factory.rb', line 10 def create(_status_code, _reason_phrase, _headers, _raw_body, _request) HttpResponse.new(_status_code, _reason_phrase, _headers, _raw_body, _request) end  |