class PostmonRuby::Finders::CepFinder
Public Instance Methods
arguments_size()
click to toggle source
# File lib/postmon_ruby/finders/cep_finder.rb, line 9 def arguments_size 1 end
endpoint()
click to toggle source
# File lib/postmon_ruby/finders/cep_finder.rb, line 5 def endpoint "/cep" end
search(*arguments)
click to toggle source
# File lib/postmon_ruby/finders/cep_finder.rb, line 13 def search(*arguments) arguments.flatten! PostmonRuby::Address.new(PostmonRuby::Http.get(self.arguments_uri(arguments))) end