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