summaryrefslogtreecommitdiff
path: root/lib/ats/cli/amp4e/policies.rb
blob: ee9f790ad3ec62935404eef4774cc9e72394f95d (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 Policies < Command
        desc 'list', 'list'
        def list
          print_json api.policies.list
        end

        desc 'show <UUID>', 'list'
        def show(id)
          print_json api.policies.show(id)
        end
      end
    end
  end
end