Class: Sink::Models::ModelFromNestedPath
- Defined in:
- lib/sink/models/model_from_nested_path.rb
Defined Under Namespace
Classes: DiffStyle
Instance Attribute Summary collapse
-
#commit_email ⇒ String
What email they want in their commit messages.
-
#commit_name ⇒ String
What name they want in their commit messages.
-
#diff_style ⇒ Symbol, Sink::Models::ModelFromNestedPath::DiffStyle
Do they prefer view Git diffs side by side, or interleaved?.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ ModelFromNestedPath
constructor
Create a new instance of ModelFromNestedPath from a Hash of raw data.
Methods inherited from BaseModel
#[], #deconstruct_keys, #inspect, #to_h, #to_s
Constructor Details
#initialize(data = {}) ⇒ ModelFromNestedPath
Create a new instance of ModelFromNestedPath from a Hash of raw data.
7 |
# File 'lib/sink/models/model_from_nested_path.rb', line 7 def initialize(data = {}) = super |
Instance Attribute Details
#commit_email ⇒ String
What email they want in their commit messages
9 |
# File 'lib/sink/models/model_from_nested_path.rb', line 9 required :commit_email, String |
#commit_name ⇒ String
What name they want in their commit messages
14 |
# File 'lib/sink/models/model_from_nested_path.rb', line 14 required :commit_name, String |
#diff_style ⇒ Symbol, Sink::Models::ModelFromNestedPath::DiffStyle
Do they prefer view Git diffs side by side, or interleaved?
20 |
# File 'lib/sink/models/model_from_nested_path.rb', line 20 required :diff_style, enum: -> { Sink::Models::ModelFromNestedPath::DiffStyle } |