Sha256: 399a20222fd099a37f743b7c5122f00b9fd598edd5d14fa6ac0ad77425e293fd
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 Bytes
Contents
module FreshdeskAPI module Error class ClientError < StandardError; end class RecordInvalid < ClientError attr_accessor :response, :errors def initialize(response) @response = response end def to_s "#{self.class.name}: #{@errors.to_s}" end end class NotAcceptable < ClientError; end class ResourceNotFound < ClientError; end class NetworkError < ClientError; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
freshdesk_api-0.1.3 | lib/freshdesk_api/error.rb |