class Github::Error::ClientError
Attributes
problem[R]
resolution[R]
summary[R]
Public Class Methods
new(message)
click to toggle source
Calls superclass method
Github::Error::GithubError::new
# File lib/github_api/error/client_error.rb, line 11 def initialize(message) super(message) end
Public Instance Methods
generate_message(attributes)
click to toggle source
# File lib/github_api/error/client_error.rb, line 15 def generate_message(attributes) @problem = attributes[:problem] @summary = attributes[:summary] @resolution = attributes[:resolution] "\nProblem:\n #{@problem}"+ "\nSummary:\n #{@summary}"+ "\nResolution:\n #{@resolution}" end