Class: CaptiveRelease::CapacitorConfig
- Inherits:
-
Struct
- Object
- Struct
- CaptiveRelease::CapacitorConfig
- Defined in:
- lib/captive_release/config.rb
Instance Attribute Summary collapse
-
#build_workflow ⇒ Object
Returns the value of attribute build_workflow.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#build_workflow ⇒ Object
Returns the value of attribute build_workflow
20 21 22 |
# File 'lib/captive_release/config.rb', line 20 def build_workflow @build_workflow end |
Class Method Details
.from_hash(h) ⇒ Object
21 22 23 24 25 |
# File 'lib/captive_release/config.rb', line 21 def self.from_hash(h) return nil unless h new(build_workflow: h["build_workflow"] || "capacitor-build.yml") end |
Instance Method Details
#to_h ⇒ Object
27 28 29 |
# File 'lib/captive_release/config.rb', line 27 def to_h { "build_workflow" => build_workflow } end |