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

  belongs_to :call_route

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

end