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.



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

#nameObject (readonly)

Returns the value of attribute name.



341
342
343
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 341

def name
  @name
end