Class: Fountain::Api::Stages
- Inherits:
-
Object
- Object
- Fountain::Api::Stages
- Extended by:
- RequestHelper
- Defined in:
- lib/fountain/api/stages.rb
Overview
Fountain Stage Management API
Constant Summary
Constants included from RequestHelper
RequestHelper::DEFAULT_REQUEST_OPTIONS
Class Method Summary collapse
-
.get(stage_id) ⇒ Fountain::Stage
Get Stage Info.
Methods included from RequestHelper
Class Method Details
.get(stage_id) ⇒ Fountain::Stage
Get Stage Info
15 16 17 18 |
# File 'lib/fountain/api/stages.rb', line 15 def self.get(stage_id) response = request_json("/v2/stages/#{stage_id}") Fountain::Stage.new response end |