class RouteNGNClient::RouteContainer

Public Instance Methods

enhanced_routes() click to toggle source
# File lib/routengn_client/models/route_container.rb, line 8
def enhanced_routes
  self.routes.each do |route|
    route.attributes.inbound_rate = self.inbound_rate
    route.attributes.outbound_end_point_group = OutboundEndPointGroup.find(route.attributes.outbound_end_point_group_id, {:account_id => route.request_account_id})
  end

  self.routes
end