Sha256: 404b87693653a485e3c3e166df66af0088654d5a3e664cc09b0dd37f953c6093
Contents?: true
Size: 276 Bytes
Versions: 4
Compression:
Stored size: 276 Bytes
Contents
require 'rest_client' module RestPack class BaseProxy def self.raise_exceptions_if_required(response) if !response.success? case(response.status) when :not_found raise ActiveRecord::RecordNotFound end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems