class GoogleFormInput

Attributes

input_type[R]
label[R]
name[R]
value[R]

Public Class Methods

new(input_type, label, name) click to toggle source
# File lib/google_form_input.rb, line 4
def initialize(input_type, label, name)
  @input_type = input_type
  @label = label
  @name = name
end

Public Instance Methods

to_param() click to toggle source
# File lib/google_form_input.rb, line 14
def to_param
  {@name => @value}
end
value=(value) click to toggle source
# File lib/google_form_input.rb, line 10
def value=(value)
  @value = value
end