Sha256: dd748e9a1f751783c30ae4505c67a8ee3167c1858d2edb3766a992c9cc7c3088

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

module Rollman
  class Client
    module Invites
      def list_invites_for_a_team(team_id)
        get "/api/1/team/#{team_id}/invites"
      end

      def invite_a_user_to_a_team(team_id, email)
        post "/api/1/team/#{team_id}/invites", { email: email }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rollman-0.1.0 lib/rollman/client/invites.rb