Sha256: bcfa1719727cd87af8c067662faa89d9bc4b3a1d421699b19696874d54a81212
Contents?: true
Size: 373 Bytes
Versions: 4
Compression:
Stored size: 373 Bytes
Contents
module Kontena::Cli::Etcd class MkdirCommand < Clamp::Command include Kontena::Cli::Common parameter "KEY", "Etcd key" def execute require_api_url token = require_token data = {} response = client(token).post("etcd/#{current_grid}/#{key}", data) if response['error'] abort response['error'] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems