class Yardi::Model::Event
Attributes
first_contact[R]
remote_id[R]
timestamp[R]
transaction_source[R]
type[R]
Public Class Methods
new(remote_id:, type:, timestamp:, first_contact:, transaction_source:)
click to toggle source
timestamp is a string that does not include timezone, so we leave it to the client to parse correctly.
# File lib/yardi/model/event.rb, line 9 def initialize(remote_id:, type:, timestamp:, first_contact:, transaction_source:) @remote_id = remote_id @type = type @timestamp = timestamp @first_contact = first_contact @transaction_source = transaction_source end