Sha256: 5daf2910855f162aa99ec73e5c87a85c95a8c5d4a006ed683221faac8ccd22eb

Contents?: true

Size: 361 Bytes

Versions: 6

Compression:

Stored size: 361 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
strava-ruby-client-0.4.2 lib/strava/webhooks/models/event.rb
strava-ruby-client-0.4.1 lib/strava/webhooks/models/event.rb
strava-ruby-client-0.4.0 lib/strava/webhooks/models/event.rb
strava-ruby-client-0.3.2 lib/strava/webhooks/models/event.rb
strava-ruby-client-0.3.1 lib/strava/webhooks/models/event.rb
strava-ruby-client-0.3.0 lib/strava/webhooks/models/event.rb