Sha256: bda762a1d4a233937a83536d2212fd9276a5be4794f4c81c8ed917428756ace3
Contents?: true
Size: 508 Bytes
Versions: 21
Compression:
Stored size: 508 Bytes
Contents
# encoding: utf-8 module BitBucket #:nodoc # Raised when BitBucket returns the HTTP status code 404 module Error class ClientError < BitBucketError attr_reader :problem, :summary, :resolution def initialize(message) super(message) end def generate_message(attributes) "\nProblem:\n #{attributes[:problem]}"+ "\nSummary:\n #{attributes[:summary]}"+ "\nResolution:\n #{attributes[:resolution]}" end end end # Error end # BitBucket
Version data entries
21 entries across 21 versions & 5 rubygems