Sha256: 255d85caef4c93f4931f3bb1ad8fa5938dcba7dd06b1b704a8baeb5db6870f1d

Contents?: true

Size: 425 Bytes

Versions: 6

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Webhooks
    module Models
      class Subscription < Strava::Models::Response
        property 'id'
        property 'application_id'
        property 'callback_url'
        property 'resource_state'
        property 'created_at', transform_with: ->(v) { Time.parse(v) }
        property 'updated_at', transform_with: ->(v) { Time.parse(v) }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
strava-ruby-client-2.2.0 lib/strava/webhooks/models/subscription.rb
strava-ruby-client-2.1.0 lib/strava/webhooks/models/subscription.rb
strava-ruby-client-2.0.0 lib/strava/webhooks/models/subscription.rb
strava-ruby-client-1.1.0 lib/strava/webhooks/models/subscription.rb
strava-ruby-client-1.0.1 lib/strava/webhooks/models/subscription.rb
strava-ruby-client-1.0.0 lib/strava/webhooks/models/subscription.rb