Module: Strava::V1::StreamRequest

Included in:
Connection
Defined in:
lib/strava/v1/streams_request.rb

Instance Method Summary collapse

Instance Method Details

#stream(id) ⇒ Object



10
11
12
# File 'lib/strava/v1/streams_request.rb', line 10

def stream(id)
  Stream.new(self.fetch(streams_path(id), nil))
end

#streams_path(id) ⇒ Object



6
7
8
# File 'lib/strava/v1/streams_request.rb', line 6

def streams_path(id)
  "streams/#{id}"
end