Method: Viberroo::Input.none_button

Defined in:
lib/viberroo/input.rb

.none_button(params = {}) ⇒ Object

A button that does nothing, for decoration purposes.

Examples:

button = Viberroo::Input.none_button(Text: 'Purely decorative.')

See Also:



106
107
108
# File 'lib/viberroo/input.rb', line 106

def self.none_button(params = {})
  { ActionType: 'none' }.merge(params)
end