Class: TimestampAPI::Event

Inherits:
Model
  • Object
show all
Defined in:
lib/timestamp_api/models/event.rb

Instance Attribute Summary

Attributes inherited from Model

#json_data

Instance Method Summary collapse

Methods inherited from Model

inherited, #initialize

Methods included from ModelDefaultAPIMethods

included

Methods included from ModelRelations

included

Methods included from ModelAttributes

included

Methods included from Utils

#camelize, #camelize_keys

Constructor Details

This class inherits a constructor from TimestampAPI::Model

Instance Method Details

#objectObject



7
8
9
# File 'lib/timestamp_api/models/event.rb', line 7

def object
  TimestampAPI::ModelRegistry.model_for(data).new(data)
end