Class: Sirius::Post
Overview
All posts from threads maps on this class
Class Method Summary collapse
-
.parse(json) ⇒ Object
:nodoc:.
Class Method Details
.parse(json) ⇒ Object
:nodoc:
14 15 16 17 18 19 20 |
# File 'lib/sirius/post.rb', line 14 def parse(json) #:nodoc: i = self.new json.each do |key, value| i.send("#{key}=", value) end i end |