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
7
8
9
|
# File 'lib/postmon_ruby/finders/tracker_finder.rb', line 7
def arguments_size
2
end
|
#search(*arguments) ⇒ Object
11
12
13
14
|
# File 'lib/postmon_ruby/finders/tracker_finder.rb', line 11
def search(*arguments)
arguments.flatten!
@@trackers[arguments.first].search(arguments[1..-1])
end
|