Class: Streak::Stage
- Inherits:
-
StreakObject
- Object
- StreakObject
- Streak::Stage
- Defined in:
- lib/streak/stage.rb
Class Method Summary collapse
- .all(pipeline_key) ⇒ Object
- .create(pipeline_key, params) ⇒ Object
- .find(pipeline_key, stage_key) ⇒ Object
Methods inherited from StreakObject
attributes, construct_from, convert_to_streak_object, #initialize, #method_missing, relations
Constructor Details
This class inherits a constructor from Streak::StreakObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Streak::StreakObject
Class Method Details
.all(pipeline_key) ⇒ Object
3 4 5 6 |
# File 'lib/streak/stage.rb', line 3 def self.all(pipeline_key) res = Streak.request(:get, "/pipelines/#{pipeline_key}/stages") convert_to_streak_object(res, Stage) end |