class HornOfPlenty::Models::Lane

Public Instance Methods

to_h() click to toggle source
# File lib/horn_of_plenty/models/lane.rb, line 15
def to_h
  {
    id:         id,
    board_id:   board_id,
    title:      title,
    created_at: created_at,
    updated_at: updated_at,
  }
end
to_sha() click to toggle source
# File lib/horn_of_plenty/models/lane.rb, line 25
def to_sha
  @sha ||= Digest::SHA2.hexdigest(to_h.to_s)
end