Class: Janky::JobCreator::Mock
- Inherits:
-
Object
- Object
- Janky::JobCreator::Mock
- Defined in:
- lib/janky/job_creator.rb
Instance Method Summary collapse
Instance Method Details
#exists?(server_url, name) ⇒ Boolean
64 65 66 |
# File 'lib/janky/job_creator.rb', line 64 def exists?(server_url, name) false end |
#run(server_url, name, config) ⇒ Object
56 57 58 59 60 61 62 |
# File 'lib/janky/job_creator.rb', line 56 def run(server_url, name, config) name || raise(Error, "no name") config || raise(Error, "no config") (URI === server_url) || raise(Error, "server_url is not a URI") true end |