class GHArchive::BasicComment
Public Instance Methods
body()
click to toggle source
# File lib/gh-archive/entities.rb, line 199 def body @payload['body'] end
created_at()
click to toggle source
# File lib/gh-archive/entities.rb, line 191 def created_at Time.parse(@payload['created_at']) end
id()
click to toggle source
# File lib/gh-archive/entities.rb, line 183 def id @payload['id'] end
updated_at()
click to toggle source
# File lib/gh-archive/entities.rb, line 195 def updated_at Time.parse(@payload['updated_at']) rescue nil end
url()
click to toggle source
# File lib/gh-archive/entities.rb, line 179 def url @payload['url'] end
user()
click to toggle source
# File lib/gh-archive/entities.rb, line 187 def user User.new(@payload['user']) rescue nil end