class Messages::ButtonClass

Attributes

command[RW]
name[RW]
text[RW]
value[RW]

Public Class Methods

new() click to toggle source
# File lib/yellowant/message/button_class.rb, line 5
def initialize
        @value = ''
        @name = ''
        @text = ''
        @command = {}
end

Public Instance Methods

get_dict() click to toggle source
# File lib/yellowant/message/button_class.rb, line 12
def get_dict
        {"value"=> @value, "name"=> @name, "text"=>@text, "command" => @command}
end