class KsResponse
Return the custom response generated by Paypal APIS Inherited from StandardError
Attributes
ks_response[RW]
Public Class Methods
new(ks_response)
click to toggle source
# File lib/koduc_express_paypal/koduc_response.rb, line 6 def initialize(ks_response) @response_array = [] @ks_response = ks_response end
Public Instance Methods
ks_success_messages()
click to toggle source
# File lib/koduc_express_paypal/koduc_response.rb, line 11 def ks_success_messages @response_array << ks_response response = {success: true ,response:@response_array} end