Class: CircleCI::CLI::Response::Step
- Inherits:
-
Object
- Object
- CircleCI::CLI::Response::Step
- Defined in:
- lib/circleci/cli/response/step.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #actions ⇒ Object
-
#initialize(type, hash) ⇒ Step
constructor
A new instance of Step.
Constructor Details
#initialize(type, hash) ⇒ Step
Returns a new instance of Step.
10 11 12 13 14 |
# File 'lib/circleci/cli/response/step.rb', line 10 def initialize(type, hash) @type = type @status = hash['status'] @hash = hash end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
8 9 10 |
# File 'lib/circleci/cli/response/step.rb', line 8 def status @status end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/circleci/cli/response/step.rb', line 7 def type @type end |