Command
# File lib/hammer_cli/apipie/read_command.rb, line 25 def print_data(records) print_collection(output_definition, records) end
# File lib/hammer_cli/apipie/read_command.rb, line 29 def request_headers {} end
# File lib/hammer_cli/apipie/read_command.rb, line 33 def request_params method_options end
# File lib/hammer_cli/apipie/read_command.rb, line 15 def retrieve_data raise "resource or action not defined" unless self.class.resource_defined? logger.debug request_params.ai if resource && resource.has_action?(action) resource.call(action, request_params, request_headers) else raise HammerCLI::OperationNotSupportedError, "The server does not support such operation." end end
Generated with the Darkfish Rdoc Generator 2.