Sha256: f612331afa8adf2cc754cbe475977b2f59c00edda375dfdc9ab30b6136b1d6ec

Contents?: true

Size: 517 Bytes

Versions: 11

Compression:

Stored size: 517 Bytes

Contents

module BacklogKit
  class Client
    module Group
      def get_groups(params = {})
        get('groups', params)
      end

      def get_group(group_id)
        get("groups/#{group_id}")
      end

      def create_group(name, params = {})
        params.merge!(name: name)
        post('groups', params)
      end

      def update_group(group_id, params = {})
        patch("groups/#{group_id}", params)
      end

      def delete_group(group_id)
        delete("groups/#{group_id}")
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
backlog_kit-0.12.1 lib/backlog_kit/client/group.rb
backlog_kit-0.12.0 lib/backlog_kit/client/group.rb
backlog_kit-0.11.0 lib/backlog_kit/client/group.rb
backlog_kit-0.10.0 lib/backlog_kit/client/group.rb
backlog_kit-0.9.0 lib/backlog_kit/client/group.rb
backlog_kit-0.8.0 lib/backlog_kit/client/group.rb
backlog_kit-0.7.0 lib/backlog_kit/client/group.rb
backlog_kit-0.6.0 lib/backlog_kit/client/group.rb
backlog_kit-0.5.0 lib/backlog_kit/client/group.rb
backlog_kit-0.4.0 lib/backlog_kit/client/group.rb
backlog_kit-0.3.0 lib/backlog_kit/client/group.rb