Sha256: a9de591025aa3045c85fa0134f5cac87a7429f4e4b992b116a09d04e66fc1ce3

Contents?: true

Size: 244 Bytes

Versions: 82

Compression:

Stored size: 244 Bytes

Contents

require "cfoundry/v2/model"

module CFoundry::V2
  class Route < Model
    attribute :host, :string
    to_one    :domain
    to_one    :space

    queryable_by :host, :domain_guid

    def name
      "#{host}.#{domain.name}"
    end
  end
end

Version data entries

82 entries across 82 versions & 3 rubygems

Version Path
cloulu-1.0.0 lib/cfoundry/v2/route.rb
cloulu-0.7.0 lib/cfoundry/v2/route.rb
cloulu-0.6.6 lib/cfoundry/v2/route.rb
cloulu-0.6.5 lib/cfoundry/v2/route.rb
cloulu-0.6.1 lib/cfoundry/v2/route.rb
cloulu-0.6.0 lib/cfoundry/v2/route.rb
cloulu-0.5.1 lib/cfoundry/v2/route.rb
cloulu-0.5.0 lib/cfoundry/v2/route.rb
cloulu-0.3.0 lib/cfoundry/v2/route.rb
cloulu-0.2.6 lib/cfoundry/v2/route.rb
cloulu-0.2.5 lib/cfoundry/v2/route.rb
cloulu-0.2.4 lib/cfoundry/v2/route.rb
cloulu-0.2.3 lib/cfoundry/v2/route.rb
cloulu-0.2.1 lib/cfoundry/v2/route.rb
cloulu-0.2.0 lib/cfoundry/v2/route.rb
cloulu-0.1.6 lib/cfoundry/v2/route.rb
cloulu-0.1.5 lib/cfoundry/v2/route.rb
cloulu-0.1.2 lib/cfoundry/v2/route.rb
cloulu-0.1.1 lib/cfoundry/v2/route.rb
static-1.0.3 vendor/cfoundry-0.5.2/lib/cfoundry/v2/route.rb