Method: Arrow::Transaction#path
- Defined in:
- lib/arrow/transaction.rb
#path ⇒ Object
Returns the path operated on by the Arrow::Broker when delegating the transaction. Equal to the #uri minus the #app_root.
224 225 226 227 228 |
# File 'lib/arrow/transaction.rb', line 224 def path path = @request.uri uripat = Regexp.new( "^" + self.app_root ) return path.sub( uripat, '' ) end |