class Plivo::DateTime
Attributes
fallback_value[RW]
Public Class Methods
new(fallback_value: nil)
click to toggle source
# File lib/plivo/template.rb, line 91 def initialize(fallback_value: nil) @fallback_value = fallback_value end
Public Instance Methods
to_hash()
click to toggle source
# File lib/plivo/template.rb, line 95 def to_hash { fallback_value: @fallback_value }.reject { |_, v| v.nil? } end