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.
343 344 345 346 |
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 343 def initialize(name) @name = name super("Project '#{name}' not found") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
341 342 343 |
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 341 def name @name end |