Class: Geckoboard::StringField

Inherits:
Field
  • Object
show all
Defined in:
lib/geckoboard/field_types.rb

Instance Attribute Summary

Attributes inherited from Field

#id, #name

Instance Method Summary collapse

Methods inherited from Field

#initialize

Constructor Details

This class inherits a constructor from Geckoboard::Field

Instance Method Details

#to_hashObject



32
33
34
# File 'lib/geckoboard/field_types.rb', line 32

def to_hash
  super.merge(type: :string)
end