class TravelsPlansTwin

Included Modules

Defined in:

models/travels_plans.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(record : TravelsPlans) #

[View source]

Instance Method Detail

def created_at : Union(Time, Nil) #

def id : Int32 | Nil #

def to_model : TravelsPlans #
Description copied from module JenniferTwin

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">

[View source]
def travel_stops : String #

def updated_at : Union(Time, Nil) #