Sha256: 67d91050cbf458c08481b487b42c20fd57f82e303c713c520106566aa4419de4

Contents?: true

Size: 361 Bytes

Versions: 21

Compression:

Stored size: 361 Bytes

Contents

require "cfoundry/v2/model"

module CFoundry::V2
  class Domain < Model
    attribute :name, :string
    attribute :wildcard, :boolean, :default => true
    to_one    :owning_organization, :as => :organization, :default => nil

    queryable_by :name, :owning_organization_guid, :space_guid

    # hide wildcard support for now
    private :wildcard=
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cfoundry-0.4.21 lib/cfoundry/v2/domain.rb
cfoundry-0.4.19 lib/cfoundry/v2/domain.rb
cfoundry-0.4.18 lib/cfoundry/v2/domain.rb
cfoundry-0.4.17 lib/cfoundry/v2/domain.rb
cfoundry-0.4.16 lib/cfoundry/v2/domain.rb
cfoundry-0.4.15 lib/cfoundry/v2/domain.rb
cfoundry-0.4.14 lib/cfoundry/v2/domain.rb
cfoundry-0.4.13 lib/cfoundry/v2/domain.rb
cfoundry-0.4.12 lib/cfoundry/v2/domain.rb
cfoundry-0.4.11 lib/cfoundry/v2/domain.rb
cfoundry-0.4.10 lib/cfoundry/v2/domain.rb
cfoundry-0.4.9 lib/cfoundry/v2/domain.rb
cfoundry-0.4.8 lib/cfoundry/v2/domain.rb
cfoundry-0.4.7 lib/cfoundry/v2/domain.rb
cfoundry-0.4.6 lib/cfoundry/v2/domain.rb
cfoundry-0.4.5 lib/cfoundry/v2/domain.rb
cfoundry-0.4.4 lib/cfoundry/v2/domain.rb
cfoundry-0.4.3 lib/cfoundry/v2/domain.rb
cfoundry-0.4.2 lib/cfoundry/v2/domain.rb
cfoundry-0.4.1 lib/cfoundry/v2/domain.rb