Sha256: 3b280a19f7d25dc4c03285839926453017380a4aa19f271e211de5400937f7b7

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

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

      api.get_upcoming_events(ids, week)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
meetupinator-0.6.2 lib/meetupinator/event_finder.rb
meetupinator-0.6.1 lib/meetupinator/event_finder.rb
meetupinator-0.6 lib/meetupinator/event_finder.rb
meetupinator-0.5 lib/meetupinator/event_finder.rb