class Post
Attributes
user[RW]
Public Class Methods
new(attributes)
click to toggle source
Calls superclass method
Base::new
# File lib/mattermost/models/post.rb, line 4 def initialize(attributes) super(attributes) if attributes['user_id'] @user = Mattermost::User.find(attributes['user_id']) end end