Sha256: 0e230f2e5b424e26d6b80e81391c80da758291b2af22cebe586ca82f30b32820

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

module RailsConnector

  class NetworkError < RailsConnector::CommunicationError
    attr_reader :http_code

    def self.from_socket_error(socket_error)
      new(socket_error.message, 503)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.1.0 lib/rails_connector/network_error.rb