Class: Mogura::Project::Put
- Inherits:
-
Object
- Object
- Mogura::Project::Put
- Defined in:
- lib/mogura/project.rb
Constant Summary collapse
- FILE_MODE =
33188
- DIG_EXT =
'.dig'.freeze
Class Method Summary collapse
Class Method Details
.project(project: Rails.application.class.module_parent_name, dags: []) ⇒ Object
31 32 33 |
# File 'lib/mogura/project.rb', line 31 def project(project: Rails.application.class.module_parent_name, dags: []) upload(gzip(tar(dags)), Mogura.config.endpoint, project, revision) end |
.secret ⇒ Object
35 36 37 38 |
# File 'lib/mogura/project.rb', line 35 def secret # https://docs.digdag.io/api/ raise NotImplementedError, "You must implement #{self.name}##{__method__}" end |