class Plivo::Footer

Attributes

text[RW]

Public Class Methods

new(text: nil) click to toggle source
# File lib/plivo/interactive.rb, line 61
def initialize(text: nil)
  @text = text
end

Public Instance Methods

to_hash() click to toggle source
# File lib/plivo/interactive.rb, line 65
def to_hash
  {
    text: @text
  }.reject { |_, v| v.nil? }
end