class Thanos::EventFinder
Constants
- ATTRIBUTES
Private Instance Methods
find(attribute)
click to toggle source
# File lib/thanos/finders/event_finder.rb, line 19 def find(attribute) FinderValidator.validate(attribute, ATTRIBUTES) response = Thanos::API::Client.new.get(:events, attribute) results = Thanos::ResponseHolder.new(response).results Thanos::Factory::Event.new(results).build end