class ActionBlocks::TextFieldBuilder

Public Instance Methods

before_build(parent, *args) click to toggle source
Calls superclass method ActionBlocks::FieldBlock#before_build
# File lib/action_blocks/builders/model_builder.rb, line 465
def before_build(parent, *args)
  super(parent, *args)
  @field_type = 'text'
end
hashify(user) click to toggle source
# File lib/action_blocks/builders/model_builder.rb, line 470
def hashify(user)
  {
    type: :text,
    id: @id
  }
end