Class: Geckoboard::DateField

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



44
45
46
# File 'lib/geckoboard/field_types.rb', line 44

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