Sha256: cda6b283b152fa3f8d116e3b7d68f657c3bd531d0e7782d37e91f7627ff12458

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

require 'postmon_ruby'

module PostmonCli
  class Wrapper
    def self.get_cep(cep)
      PostmonRuby::GemOutput.cep(cep)
    end

    def self.get_cidade(uf, cidade)
      PostmonRuby::GemOutput.cidade(uf, cidade)
    end

    def self.get_estado(uf)
      PostmonRuby::GemOutput.estado(uf)
    end

    def self.get_rastreio(codigo)
      PostmonRuby::GemOutput.rastreio(codigo)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
postmon_cli-0.0.2 lib/postmon_cli/wrapper.rb
postmon_cli-0.0.1 lib/postmon_cli/wrapper.rb