Class: CaptiveRelease::ExpoConfig
- Inherits:
-
Struct
- Object
- Struct
- CaptiveRelease::ExpoConfig
- 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
8 9 10 |
# File 'lib/captive_release/config.rb', line 8 def build_workflow @build_workflow end |
Class Method Details
.from_hash(h) ⇒ Object
9 10 11 12 13 |
# File 'lib/captive_release/config.rb', line 9 def self.from_hash(h) return nil unless h new(build_workflow: h["build_workflow"] || "build.yml") end |
Instance Method Details
#to_h ⇒ Object
15 16 17 |
# File 'lib/captive_release/config.rb', line 15 def to_h { "build_workflow" => build_workflow } end |