Class: Dapp::Dimg::Config::Directive::GitArtifactRemote::Export
- Inherits:
-
Dapp::Dimg::Config::Directive::GitArtifactLocal::Export
- Object
- Config::Directive::Base
- Base
- ArtifactBase::Export
- Dapp::Dimg::Config::Directive::GitArtifactLocal::Export
- Dapp::Dimg::Config::Directive::GitArtifactRemote::Export
- Defined in:
- lib/dapp/dimg/config/directive/git_artifact_remote.rb
Instance Attribute Summary collapse
-
#_branch ⇒ Object
Returns the value of attribute _branch.
-
#_commit ⇒ Object
Returns the value of attribute _commit.
-
#_name ⇒ Object
Returns the value of attribute _name.
-
#_url ⇒ Object
Returns the value of attribute _url.
Attributes inherited from Dapp::Dimg::Config::Directive::GitArtifactLocal::Export
Attributes inherited from ArtifactBase::Export
#_cwd, #_exclude_paths, #_group, #_include_paths, #_owner, #_to
Instance Method Summary collapse
Methods inherited from Dapp::Dimg::Config::Directive::GitArtifactLocal::Export
Methods inherited from ArtifactBase::Export
#exclude_paths, #group, #include_paths, #initialize, #owner, #to
Methods inherited from Base
Methods inherited from Config::Directive::Base
#clone, #encode_with, #initialize
Constructor Details
This class inherits a constructor from Dapp::Dimg::Config::Directive::ArtifactBase::Export
Instance Attribute Details
#_branch ⇒ Object
Returns the value of attribute _branch.
37 38 39 |
# File 'lib/dapp/dimg/config/directive/git_artifact_remote.rb', line 37 def _branch @_branch end |
#_commit ⇒ Object
Returns the value of attribute _commit.
37 38 39 |
# File 'lib/dapp/dimg/config/directive/git_artifact_remote.rb', line 37 def _commit @_commit end |
#_name ⇒ Object
Returns the value of attribute _name.
37 38 39 |
# File 'lib/dapp/dimg/config/directive/git_artifact_remote.rb', line 37 def _name @_name end |
#_url ⇒ Object
Returns the value of attribute _url.
37 38 39 |
# File 'lib/dapp/dimg/config/directive/git_artifact_remote.rb', line 37 def _url @_url end |
Instance Method Details
#_artifact_options ⇒ Object
39 40 41 |
# File 'lib/dapp/dimg/config/directive/git_artifact_remote.rb', line 39 def super.merge(name: _name, branch: _branch, commit: _commit) end |
#branch(value) ⇒ Object
43 44 45 |
# File 'lib/dapp/dimg/config/directive/git_artifact_remote.rb', line 43 def branch(value) sub_directive_eval { @_branch = value.to_s } end |
#commit(value) ⇒ Object
47 48 49 |
# File 'lib/dapp/dimg/config/directive/git_artifact_remote.rb', line 47 def commit(value) sub_directive_eval { @_commit = value.to_s } end |