UserData
Inherits JSON::Serializable < JenniferTwin < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
age
created_at
id
name
to_model
Returns a new instance of model class created from current twin state.
user = User.all.first
user_twin.full_name = "New Name"
user_twin.to_modal # <User:0x000000000030 id: nil, name: "New Name">
updated_at