Exception: Refine::ProjectNotFound
- Inherits:
-
Exception
- Object
- Exception
- Refine::ProjectNotFound
- Defined in:
- lib/refine.rb
Instance Attribute Summary collapse
-
#project_id ⇒ Object
readonly
Returns the value of attribute project_id.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize(message, project_id:, server:) ⇒ ProjectNotFound
constructor
A new instance of ProjectNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(message, project_id:, server:) ⇒ ProjectNotFound
Returns a new instance of ProjectNotFound.
10 11 12 13 14 |
# File 'lib/refine.rb', line 10 def initialize(, project_id:, server:) super() @project_id = project_id @server = server end |
Instance Attribute Details
#project_id ⇒ Object (readonly)
Returns the value of attribute project_id.
8 9 10 |
# File 'lib/refine.rb', line 8 def project_id @project_id end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
8 9 10 |
# File 'lib/refine.rb', line 8 def server @server end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/refine.rb', line 16 def to_s super + " (#{@server})" end |