summaryrefslogtreecommitdiff
path: root/lib/ats/amp4e/events.rb
blob: eae98ae3b165c9eb27dac780f5a086f1bd816c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module ATS
  module AMP4E
    class Events
      attr_reader :api

      def initialize(api)
        @api = api
      end

      def list
        api.get("events")
      end

      def types
        api.get("event_types")
      end
    end
  end
end