class CFoundry::V2::Route
Public Instance Methods
name()
click to toggle source
# File lib/cfoundry/v2/route.rb, line 15 def name "#{host}.#{domain.name}" end
Private Instance Methods
attribute_for_error(error)
click to toggle source
# File lib/cfoundry/v2/route.rb, line 21 def attribute_for_error(error) error.is_a?(CFoundry::RouteHostTaken) ? :host : :base end