Sha256: 3d59de6f2a7645469a9d25d9305e5910cf346ac3a5688e1b5ec690d494c00eb4

Contents?: true

Size: 392 Bytes

Versions: 7

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module Strava
  module Webhooks
    module Models
      class Event < Hashie::Trash
        property 'object_type'
        property 'object_id'
        property 'aspect_type'
        property 'updates'
        property 'owner_id'
        property 'subscription_id'
        property 'event_time', transform_with: ->(v) { Time.at(v) }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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