class Skypescraper::Message
Attributes
created_at[R]
id[R]
identity[R]
text[R]
type[R]
Public Class Methods
new(identity, text, type, created_at)
click to toggle source
# File lib/skypescraper/message.rb, line 7 def initialize(identity, text, type, created_at) @identity = identity @text = text @type = type @created_at = DateTime.strptime(created_at.to_s, '%s') end