Sha256: b52033747c5f1761e82d8219c83b6f9f2bd4ef8894b2207ffb5c14603b9278eb
Contents?: true
Size: 430 Bytes
Versions: 158
Compression:
Stored size: 430 Bytes
Contents
require_relative '../common' module Kontena::Cli::Grids::Users class AddCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include Kontena::Cli::Grids::Common parameter "EMAIL", "Email address" def execute require_api_url token = require_token data = { email: email } client(token).post("grids/#{current_grid}/users", data) end end end
Version data entries
158 entries across 158 versions & 2 rubygems