Sha256: 2dbc0da330a175e4479dbe194f345a6d16cde7f32515049e16c9eeed0ab679d5

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

module Segurofacil
  module REST
    module ApoliceCancel

      PATH = 'cancelapolice'

      def cancel(cnpj)
        Segurofacil::REST::Request.post(
          PATH,
          params: {
            cnpj: cnpj
          }
        ).perform
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
segurofacil-ruby-0.1.8 lib/segurofacil/rest/apolice_cancel.rb
segurofacil-ruby-0.1.7 lib/segurofacil/rest/apolice_cancel.rb
segurofacil-0.1.7 lib/segurofacil/rest/apolice_cancel.rb
segurofacil-0.1.4 lib/segurofacil/rest/apolice_cancel.rb