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.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 |
# File 'lib/models/porcelain.rb', line 1369 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 |