Sha256: 51b64d303dd284cc976c539ab257630cac2ab2f2c566d83e620b354b53dc6f12

Contents?: true

Size: 102 Bytes

Versions: 12

Compression:

Stored size: 102 Bytes

Contents

class Event < ApplicationRecord
  def occured_at
    Time.at(self[:occured_at].to_i / 1000)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hubspot-api-client-9.0.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-8.0.1 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-8.0.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-7.3.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-7.2.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-7.1.1 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-7.1.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-7.0.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-6.0.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-5.0.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-4.0.0 sample-apps/webhooks-contacts-app/app/models/event.rb
hubspot-api-client-3.3.0 sample-apps/webhooks-contacts-app/app/models/event.rb