Sha256: 36368c4bb696f18c638c31ec402366d4c4b51eae7f6ad915e218fb573a59f295
Contents?: true
Size: 304 Bytes
Versions: 22
Compression:
Stored size: 304 Bytes
Contents
class Kontena::Cli::InviteCommand < Clamp::Command include Kontena::Cli::Common parameter "EMAIL", "Invited email" def execute require_api_url token = require_token data = { email: email } response = client(token).post('users', data) puts 'User invited' if response end end
Version data entries
22 entries across 22 versions & 1 rubygems