class SBF::Client::KidInstitutionEndpoint

Public Instance Methods

delete(params) click to toggle source
# File lib/stbaldricks/endpoints/kid_institution.rb, line 6
def delete(params)
  response = SBF::Client::Api::Request.post_request("#{base_uri}/delete", params)

  error = SBF::Client::ErrorEntity.new(JSON.parse(response.body).symbolize!) unless ok?(response)

  SBF::Client::Api::Response.new(http_code: response.code, data: nil, error: error)
end