Class: Shortcodes::Wufoo::View

Inherits:
Struct
  • Object
show all
Defined in:
lib/shortcodes/wufoo.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#autoresizeObject

Returns the value of attribute autoresize

Returns:

  • (Object)

    the current value of autoresize



7
8
9
# File 'lib/shortcodes/wufoo.rb', line 7

def autoresize
  @autoresize
end

#formhashObject

Returns the value of attribute formhash

Returns:

  • (Object)

    the current value of formhash



7
8
9
# File 'lib/shortcodes/wufoo.rb', line 7

def formhash
  @formhash
end

#headerObject

Returns the value of attribute header

Returns:

  • (Object)

    the current value of header



7
8
9
# File 'lib/shortcodes/wufoo.rb', line 7

def header
  @header
end

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



7
8
9
# File 'lib/shortcodes/wufoo.rb', line 7

def height
  @height
end

#sslObject

Returns the value of attribute ssl

Returns:

  • (Object)

    the current value of ssl



7
8
9
# File 'lib/shortcodes/wufoo.rb', line 7

def ssl
  @ssl
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



7
8
9
# File 'lib/shortcodes/wufoo.rb', line 7

def username
  @username
end

Class Method Details

.new_with_attributes(attributes) ⇒ Object



8
9
10
# File 'lib/shortcodes/wufoo.rb', line 8

def self.new_with_attributes(attributes)
  new(*attributes.values_at(*members.map(&:to_s)))
end