Class: Xing::Comment
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#posted_at ⇒ Object
Time.
-
#user ⇒ Object
Xing::User.
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from Xing::Base
Instance Method Details
#posted_at ⇒ Object
Returns Time.
6 7 8 |
# File 'lib/xing/comment.rb', line 6 def posted_at @posted_at ||= Time.parse(@attrs['created_at']).utc unless @attrs['created_at'].nil? end |