Class: PostmonRuby::Finders::TrackerFinder
- Inherits:
-
Finder
- Object
- Finder
- PostmonRuby::Finders::TrackerFinder
show all
- Defined in:
- lib/postmon_ruby/finders/tracker_finder.rb
Constant Summary
collapse
- @@trackers =
{
:ect => PostmonRuby::Finders::Tracker::ECTTrackerFinder.new
}
Instance Method Summary
collapse
Methods inherited from Finder
#arguments_uri, #endpoint
Instance Method Details
#arguments_size ⇒ Object
8
9
10
|
# File 'lib/postmon_ruby/finders/tracker_finder.rb', line 8
def arguments_size
2
end
|
#search(*arguments) ⇒ Object
12
13
14
15
|
# File 'lib/postmon_ruby/finders/tracker_finder.rb', line 12
def search(*arguments)
arguments.flatten!
@@trackers[arguments.first].search(arguments[1..-1])
end
|