summaryrefslogtreecommitdiff
path: root/lib/ats/amp4e/groups.rb
blob: 461a2bc6dc1dc802a6a2b03c0a132bf541882462 (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 Groups
      attr_reader :api

      def initialize(api)
        @api = api
      end

      def list
        api.get("groups")
      end

      def show(id)
        api.get("groups/#{id}")
      end
    end
  end
end