Sha256: 0ba6884a935e76cb52e45bfdaff1e8084b3e5eb4ae2bc0c67fab2a08a26d6136

Contents?: true

Size: 534 Bytes

Versions: 4

Compression:

Stored size: 534 Bytes

Contents

module Workarea
  module Listrak
    class BogusEmailApi::Events
      def all(_list_id)
        events = [
          {
            "eventId" => 12714,
            "eventName" => "Test",
            "eventGroupId" => 0,
            "status" => "Active"
          },
          {
            "eventId" => 12715,
            "eventName" => "footer signup",
            "eventGroupId" => 0,
            "status" => "Active"
          }
        ]
        events.map { |event| Listrak::Models::Event.new event }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-listrak-5.0.4 lib/workarea/listrak/bogus_email_api/events.rb
workarea-listrak-5.0.3 lib/workarea/listrak/bogus_email_api/events.rb
workarea-listrak-5.0.2 lib/workarea/listrak/bogus_email_api/events.rb
workarea-listrak-5.0.1 lib/workarea/listrak/bogus_email_api/events.rb