Class: KalibroGem::Entities::Throwable

Inherits:
Model
  • Object
show all
Defined in:
lib/kalibro_gem/entities/throwable.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#kalibro_errors

Instance Method Summary collapse

Methods inherited from Model

#==, create, create_array_from_hash, create_objects_array_from_hash, #destroy, #errors=, exists?, find, #initialize, request, #save, #save!, #to_hash, to_object, to_objects_array

Methods included from RequestMethods::ClassMethods

#exists_action, #find_action, #id_params

Methods included from HashConverters

#convert_to_hash, #date_with_milliseconds, #field_to_hash

Methods included from XMLConverters

#get_xml, #xml_instance_class_name

Methods included from RequestMethods

#destroy_action, #destroy_params, #save_action, #save_params

Constructor Details

This class inherits a constructor from KalibroGem::Entities::Model

Instance Attribute Details

#causeObject

Returns the value of attribute cause.



23
24
25
# File 'lib/kalibro_gem/entities/throwable.rb', line 23

def cause
  @cause
end

#messageObject

Returns the value of attribute message.



23
24
25
# File 'lib/kalibro_gem/entities/throwable.rb', line 23

def message
  @message
end

#stack_trace_elementObject

Returns the value of attribute stack_trace_element.



23
24
25
# File 'lib/kalibro_gem/entities/throwable.rb', line 23

def stack_trace_element
  @stack_trace_element
end

#target_stringObject

Returns the value of attribute target_string.



23
24
25
# File 'lib/kalibro_gem/entities/throwable.rb', line 23

def target_string
  @target_string
end

Instance Method Details

#stack_traceObject



29
30
31
# File 'lib/kalibro_gem/entities/throwable.rb', line 29

def stack_trace
  @stack_trace_element
end

#stack_trace=(stack_trace) ⇒ Object



33
34
35
# File 'lib/kalibro_gem/entities/throwable.rb', line 33

def stack_trace=(stack_trace)
  @stack_trace_element = stack_trace
end