Sha256: 343f99283aa449735177684cdac25e94dea9fab6fbada45137d510a32cfd1593
Contents?: true
Size: 629 Bytes
Versions: 5
Compression:
Stored size: 629 Bytes
Contents
require 'hammer_cli/messages' module HammerCLI::Apipie class WriteCommand < Command include HammerCLI::Messages def execute print_success_message(send_request) return HammerCLI::EX_OK end protected def success_message_params(response) response end def print_success_message(response) if success_message print_message( success_message, success_message_params(response) ) end end def send_request resource.call(action, request_params)[0] end def request_params method_options end end end
Version data entries
5 entries across 5 versions & 1 rubygems