Class: Karper::Message::Message

Inherits:
Struct
  • Object
show all
Defined in:
lib/karper/message.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentsObject

Returns the value of attribute contents

Returns:

  • (Object)

    the current value of contents



15
16
17
# File 'lib/karper/message.rb', line 15

def contents
  @contents
end

#newtObject

Returns the value of attribute newt

Returns:

  • (Object)

    the current value of newt



15
16
17
# File 'lib/karper/message.rb', line 15

def newt
  @newt
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



15
16
17
# File 'lib/karper/message.rb', line 15

def timestamp
  @timestamp
end

#user_idObject

Returns the value of attribute user_id

Returns:

  • (Object)

    the current value of user_id



15
16
17
# File 'lib/karper/message.rb', line 15

def user_id
  @user_id
end