Class: Mural::Widget::Comment::Reply

Inherits:
Object
  • Object
show all
Includes:
Codec
Defined in:
lib/mural/widget/comment.rb

Defined Under Namespace

Classes: User

Class Method Summary collapse

Methods included from Codec

#encode, included

Class Method Details

.decode(json) ⇒ Object



68
69
70
71
72
# File 'lib/mural/widget/comment.rb', line 68

def self.decode(json)
  super.tap do |reply|
    reply.user = User.decode(reply.user)
  end
end