class KsExceptionHandling::KsAPIErrors
Attributes
ks_response[RW]
Public Class Methods
new(ks_response)
click to toggle source
# File lib/koduc_exception_handling/koduc_api_errors.rb, line 14 def initialize(ks_response) @response_array = [] @ks_response = ks_response end
Public Instance Methods
ks_error_messages()
click to toggle source
# File lib/koduc_exception_handling/koduc_api_errors.rb, line 19 def ks_error_messages @response_array << ks_response response = {success: false ,response:@response_array} end