class Marver::EventFinder

Constants

ALLOWED_PARAMS

Private Instance Methods

find(options = {}) click to toggle source
# File lib/marver/finders/event_finder.rb, line 18
def find(options = {})
  FinderParamFilter.filter!(options, ALLOWED_PARAMS)
  response = Marver::API::Client.new.get(:events, options)
  results = Marver::DataContainer.new(response).results
  Marver::Factory::Event.new(results).build
end