lib/strava/models/token.rb in strava-ruby-client-0.4.3 vs lib/strava/models/token.rb in strava-ruby-client-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Strava
module Models
- class Token < Model
+ class Token < Strava::Models::Response
property 'token_type'
property 'access_token'
property 'refresh_token'
property 'expires_in'
property 'expires_at', transform_with: ->(v) { Time.at(v) }