Sha256: 586ca068a376c13246a7c7e5ee1ab93c32ae7798c4fb2083066dc4dfd875e755

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Web
    class ApiResponse
      attr_accessor :response, :ratelimit

      #
      # @param [Faraday::Response] http_response
      #
      def initialize(http_response)
        @response = http_response
        @ratelimit = Strava::Api::Ratelimit.new(@response)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
strava-ruby-client-1.0.0 lib/strava/web/api_response.rb