Method: AppEngine::Exec::NoSuchVersion#initialize
- Defined in:
- lib/appengine/exec.rb
#initialize(service, version = nil) ⇒ NoSuchVersion
Returns a new instance of NoSuchVersion.
317 318 319 320 321 322 323 324 325 |
# File 'lib/appengine/exec.rb', line 317 def initialize service, version = nil @service = service @version = version if version super "No such version \"#{version}\" for service \"#{service}\"" else super "No versions found for service \"#{service}\"" end end |