summaryrefslogtreecommitdiff
path: root/lib/ats/cli/amp4e/events.rb
blob: 05ac89a622c84273abda65423818bdf58c4cfc42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module ATS
  module CLI
    module AMP4E
      class Events < Command
        desc 'list', 'list'
        def list
          print_json api.events.list
        end

        desc 'types', 'list'
        def types
          print_json api.events.types
        end
      end
    end
  end
end