class Pragma::Operation::Response::Ok
Represents the 200 Ok
HTTP response.
Public Class Methods
new(entity: nil, headers: {})
click to toggle source
Initializes the response.
@param entity [Object] the response's entity @param headers [Hash] the response's headers
Calls superclass method
Pragma::Operation::Response::new
# File lib/pragma/operation/response/ok.rb, line 12 def initialize(entity: nil, headers: {}) super(status: 200, entity: entity, headers: headers) end