Method: SDM::AccountHistory#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(account: nil, activity_id: nil, deleted_at: nil, timestamp: nil) ⇒ AccountHistory
Returns a new instance of AccountHistory.
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 |
# File 'lib/models/porcelain.rb', line 1039 def initialize( account: nil, activity_id: nil, deleted_at: nil, timestamp: nil ) @account = account == nil ? nil : account @activity_id = activity_id == nil ? "" : activity_id @deleted_at = deleted_at == nil ? nil : deleted_at @timestamp = == nil ? nil : end |