Exception: PhraseAppUpdater::PhraseAppAPI::ProjectNotFoundError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- PhraseAppUpdater::PhraseAppAPI::ProjectNotFoundError
- Defined in:
- lib/phraseapp_updater/phraseapp_api.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ ProjectNotFoundError
constructor
A new instance of ProjectNotFoundError.
Constructor Details
#initialize(name) ⇒ ProjectNotFoundError
Returns a new instance of ProjectNotFoundError.
296 297 298 299 |
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 296 def initialize(name) @name = name super("Project '#{name}' not found") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
294 295 296 |
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 294 def name @name end |