Class: Omnitest::Project::GitOptions
- Inherits:
-
Core::Dash
- Object
- Hashie::Dash
- Core::Dash
- Omnitest::Project::GitOptions
- Defined in:
- lib/omnitest/project.rb
Instance Attribute Summary collapse
-
#branch ⇒ String
Attribute branch.
-
#repo ⇒ String
Required Attribute repo.
-
#to ⇒ String
Attribute to.
Instance Method Summary collapse
-
#initialize(data) ⇒ GitOptions
constructor
A new instance of GitOptions.
Methods inherited from Core::Dash
Constructor Details
#initialize(data) ⇒ GitOptions
Returns a new instance of GitOptions.
11 12 13 14 |
# File 'lib/omnitest/project.rb', line 11 def initialize(data) data = { repo: data } if data.is_a? String super end |
Instance Attribute Details
#branch ⇒ String
Attribute branch.
8 |
# File 'lib/omnitest/project.rb', line 8 field :branch, String |
#repo ⇒ String
Required Attribute repo.
7 |
# File 'lib/omnitest/project.rb', line 7 required_field :repo, String |
#to ⇒ String
Attribute to.
9 |
# File 'lib/omnitest/project.rb', line 9 field :to, String |