Creation of a new station
Usage Example
line = CF::Line.create("Digitize Card","Digitization") do |l|
CF::InputFormat.new({:line => l, :label => "Company", :required => "true", :valid_type => "general"})
CF::InputFormat.new({:line => l, :label => "Website", :required => "true", :valid_type => "url"})
CF::Station.create({:line => l, :type => "work") do |s|
CF::HumanWorker.new({:station => s, :number => 1, :reward => 20)
CF::Form.create({:station => s, :title => "Enter text from a business card image", :instruction => "Describe"}) do |i|
CF::FormField.new({:form => i, :label => "First Name", :field_type => "SA", :required => "true"})
CF::FormField.new({:form => i, :label => "Middle Name", :field_type => "SA"})
CF::FormField.new({:form => i, :label => "Last Name", :field_type => "SA", :required => "true"})
end
end
end