Exception: PhraseAppUpdater::PhraseAppAPI::ProjectNotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/phraseapp_updater/phraseapp_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



294
295
296
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 294

def name
  @name
end