Class: PostmonRuby::Finders::StateFinder
- Defined in:
- lib/postmon_ruby/finders/state_finder.rb
Instance Method Summary collapse
Methods inherited from Finder
Instance Method Details
#arguments_size ⇒ Object
8 9 10 |
# File 'lib/postmon_ruby/finders/state_finder.rb', line 8 def arguments_size 1 end |
#endpoint ⇒ Object
4 5 6 |
# File 'lib/postmon_ruby/finders/state_finder.rb', line 4 def endpoint "/uf" end |
#search(*arguments) ⇒ Object
12 13 14 15 |
# File 'lib/postmon_ruby/finders/state_finder.rb', line 12 def search(*arguments) arguments.flatten! PostmonRuby::State.new( HTTParty.get(self.arguments_uri(arguments)) ) end |