Class: DTK::Client::Response::NotOk

Inherits:
DTK::Client::Response show all
Defined in:
lib/domain/response.rb

Instance Attribute Summary

Attributes inherited from DTK::Client::Response

#print_error_table, #render_view, #skip_render

Instance Method Summary collapse

Methods inherited from DTK::Client::Response

#array_to_string, #clone_me, #get_custom_labels, #get_label_for_column_name, handle_error_in_wrapper, #override_command_class, #render_arg_list!, #render_custom_info, #render_data, #render_table, #render_workspace_node_info, #response_datatype, #set_datatype, #symbol_to_data_type_upcase, wrap_helper_actions

Methods included from ErrorHandlerMixin

#error_info?

Constructor Details

#initialize(data = {}) ⇒ NotOk

Returns a new instance of NotOk.



254
255
256
# File 'lib/domain/response.rb', line 254

def initialize(data={})
  super(nil,{"data"=> data, "status" => "notok"})
end