summaryrefslogtreecommitdiff
path: root/app/models/route_element.rb
blob: 6f6fd3f1bf50d517ca6b13615f0ef2c686be31cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class RouteElement < ActiveRecord::Base
  attr_accessible :call_route_id, :var_in, :var_out, :pattern, :replacement, :action, :mandatory, :position

  belongs_to :call_route

  acts_as_list :scope => :call_route

  def to_s
    "#{var_in} #{var_out}"
  end

end