Class: PostmonCli::Wrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/postmon_cli/wrapper.rb

Class Method Summary collapse

Class Method Details

.get_cep(cep) ⇒ Object



5
6
7
# File 'lib/postmon_cli/wrapper.rb', line 5

def self.get_cep(cep)
  PostmonRuby::GemOutput.cep(cep)
end

.get_cidade(uf, cidade) ⇒ Object



9
10
11
# File 'lib/postmon_cli/wrapper.rb', line 9

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

.get_estado(uf) ⇒ Object



13
14
15
# File 'lib/postmon_cli/wrapper.rb', line 13

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

.get_rastreio(codigo) ⇒ Object



17
18
19
# File 'lib/postmon_cli/wrapper.rb', line 17

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