lib/sepa/response.rb
def response_code_is_ok?
        return true if %w(00 24).include? response_code

        false
      end
# Checks whether response code in the response is ok. Response code is considered ok if it is
# "00" or "24".
#
# @return [true] if response code is ok
# @return [false] if response code is not ok
Checks whether response code in the response is ok. Response code is considered ok if it is
"00" or "24".
Checks whether response code in the response is ok . Response code is considered ok if it is " 00 " or " 24 " .
def response_code_is_ok?
        return true if %w(00 24).include? response_code
        false
      end
def response_code_is_ok? return true if %w( 00 24 ) . include? response_code false end
Checks whether response code in the response is ok.
Checks whether response code in the response is ok .
if response code is ok
if response code is ok
true
if response code is not ok
if response code is not ok
false