Sha256: 7ebf1a0bfc157c35e380b9370743c4b7c53295985b21019b175a3ffab7935463

Contents?: true

Size: 304 Bytes

Versions: 48

Compression:

Stored size: 304 Bytes

Contents

require "cfoundry/v2/model"

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

    queryable_by :name, :owning_organization_guid, :space_guid
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
cfoundry-2.2.0rc3 lib/cfoundry/v2/domain.rb
cfoundry-2.2.0.rc2 lib/cfoundry/v2/domain.rb
cfoundry-2.2.0.rc1 lib/cfoundry/v2/domain.rb
cfoundry-2.1.2.rc1 lib/cfoundry/v2/domain.rb
cfoundry-2.1.1 lib/cfoundry/v2/domain.rb
cfoundry-2.1.0 lib/cfoundry/v2/domain.rb
cfoundry-2.0.2 lib/cfoundry/v2/domain.rb
cfoundry-2.0.1.rc1 lib/cfoundry/v2/domain.rb
cfoundry-2.0.0 lib/cfoundry/v2/domain.rb
cfoundry-1.5.3 lib/cfoundry/v2/domain.rb
cfoundry-1.5.2 lib/cfoundry/v2/domain.rb
cfoundry-1.5.1 lib/cfoundry/v2/domain.rb
cfoundry-1.5.0 lib/cfoundry/v2/domain.rb
cfoundry-1.4.0 lib/cfoundry/v2/domain.rb
cfoundry-1.3.0 lib/cfoundry/v2/domain.rb
cfoundry-1.2.0 lib/cfoundry/v2/domain.rb
cfoundry-1.1.0.rc4 lib/cfoundry/v2/domain.rb
cfoundry-1.1.0.rc3 lib/cfoundry/v2/domain.rb
cfoundry-1.1.0.rc2 lib/cfoundry/v2/domain.rb
cfoundry-1.1.0.rc1 lib/cfoundry/v2/domain.rb