Class: Pangea::CLI::Reactivity::Ask
- Defined in:
- lib/pangea/cli/reactivity.rb
Overview
A single typed ask declared in a workspace’s pangea.yml.
Instance Attribute Summary collapse
-
#bind ⇒ Object
Returns the value of attribute bind.
-
#layer ⇒ Object
Returns the value of attribute layer.
-
#output ⇒ Object
Returns the value of attribute output.
-
#workspace ⇒ Object
Returns the value of attribute workspace.
Class Method Summary collapse
Instance Attribute Details
#bind ⇒ Object
Returns the value of attribute bind
27 28 29 |
# File 'lib/pangea/cli/reactivity.rb', line 27 def bind @bind end |
#layer ⇒ Object
Returns the value of attribute layer
27 28 29 |
# File 'lib/pangea/cli/reactivity.rb', line 27 def layer @layer end |
#output ⇒ Object
Returns the value of attribute output
27 28 29 |
# File 'lib/pangea/cli/reactivity.rb', line 27 def output @output end |
#workspace ⇒ Object
Returns the value of attribute workspace
27 28 29 |
# File 'lib/pangea/cli/reactivity.rb', line 27 def workspace @workspace end |
Class Method Details
.from_h(h) ⇒ Object
28 29 30 31 32 33 34 35 |
# File 'lib/pangea/cli/reactivity.rb', line 28 def self.from_h(h) new( layer: h.fetch('layer'), workspace: h.fetch('workspace'), output: h.fetch('output'), bind: h.fetch('bind'), ) end |