module Segurofacil::REST::ApoliceCancel

Constants

PATH

Public Instance Methods

cancel(cnpj) click to toggle source
# File lib/segurofacil/rest/apolice_cancel.rb, line 7
def cancel(cnpj)
  Segurofacil::REST::Request.post(
    PATH,
    params: {
      cnpj: cnpj
    }
  ).perform
end