Sha256: 9948edf7ecf90ecb84b440f6173e723de2ae155654dec43f05319b74b7eece96

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

module MeetupOrbit
    class Orbit
      def self.call(type:, data:, orbit_workspace:, orbit_api_key:)
        if type == "event_rsvp"
          MeetupOrbit::Interactions::Events::Rsvp.new(
            rsvp: data[:rsvp],
            orbit_workspace: orbit_workspace,
            orbit_api_key: orbit_api_key
          )
        end
      end
    end
  end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
meetup_orbit-0.0.3 lib/meetup_orbit/orbit.rb
meetup_orbit-0.0.2 lib/meetup_orbit/orbit.rb
meetup_orbit-0.0.1 lib/meetup_orbit/orbit.rb