Sha256: f2935acef965459bf605ce318fb0c0ca5ee7ef9cb9f082ca7d98711d3b72a216

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

module Meetupinator
  # class def
  class EventFinder
    def extract_events(group_url_names, api, weeks)
      ids = group_url_names.map { |name| api.get_meetup_id name }

      api.get_upcoming_events(ids, weeks)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
meetupinator-0.8.1 lib/meetupinator/event_finder.rb
meetupinator-0.8 lib/meetupinator/event_finder.rb
meetupinator-0.7.1 lib/meetupinator/event_finder.rb
meetupinator-0.7 lib/meetupinator/event_finder.rb