Class: DatashiftJourney::NullForm

Inherits:
BaseForm
  • Object
show all
Defined in:
app/forms/datashift_journey/null_form.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.factory(journey_plan) ⇒ Object



8
9
10
# File 'app/forms/datashift_journey/null_form.rb', line 8

def self.factory(journey_plan)
  new(journey_plan)
end

Instance Method Details

#saveObject



12
13
14
# File 'app/forms/datashift_journey/null_form.rb', line 12

def save
  true
end

#validate(_params) ⇒ Object



16
17
18
# File 'app/forms/datashift_journey/null_form.rb', line 16

def validate(_params)
  true
end