Exception: CmQuiz::ProjectAPI::PerformFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cm_quiz/project_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ PerformFailed

Returns a new instance of PerformFailed.



10
11
12
13
# File 'lib/cm_quiz/project_api.rb', line 10

def initialize(message, response)
  @response = response
  super(message)
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



8
9
10
# File 'lib/cm_quiz/project_api.rb', line 8

def response
  @response
end