lib/neutrino/gateway/patient.rb
# Override for patient class request
# This raises a PatientIdentityGatewayNotAuthorizedError error if
# repo returns a 403
#
# @param [Array] args is a splat of arguements
# @return [Responses::ResponseHandler] a `ResponseHandler` instance for handling response codes
# @raise [Neutrino::Gateway::Exceptions::PatientIdentityGatewayNotAuthorizedError] when repo returns a 403
Override for patient class request
This raises a PatientIdentityGatewayNotAuthorizedError error if
repo returns a 403
Override for patient class request This raises a PatientIdentityGatewayNotAuthorizedError error if repo returns a 403
def request(*args)
          super(*args)
            .with_general_exception_check('403', /authorized.*patient.*identity|patient.*identity.*authorized/i,
                                          Neutrino::Gateway::Exceptions::PatientIdentityGatewayNotAuthorizedError)
        end
def request ( * args ) super ( * args ) . with_general_exception_check ( '403' , / authorized.*patient.*identity|patient.*identity.*authorized /i , Neutrino :: Gateway :: Exceptions :: PatientIdentityGatewayNotAuthorizedError ) end
Override for patient class request
This raises a PatientIdentityGatewayNotAuthorizedError error if
repo returns a 403
Override for patient class request This raises a PatientIdentityGatewayNotAuthorizedError error if repo returns a 403
a `ResponseHandler` instance for handling response codes
a ` ResponseHandler ` instance for handling response codes
Responses::ResponseHandler
[Neutrino::Gateway::Exceptions::PatientIdentityGatewayNotAuthorizedError] when repo returns a 403
[ Neutrino :: Gateway :: Exceptions :: PatientIdentityGatewayNotAuthorizedError ] when repo returns a 403
args
<not_specific>
<not_specific>
args is a splat of arguements
args is a splat of arguements