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-0.6.0 lib/cfoundry/v2/domain.rb
cfoundry-0.6.0.rc6 lib/cfoundry/v2/domain.rb
cfoundry-0.6.0.rc5 lib/cfoundry/v2/domain.rb
cfoundry-0.5.3.rc6 lib/cfoundry/v2/domain.rb
cfoundry-0.6.0.rc4 lib/cfoundry/v2/domain.rb
cfoundry-0.6.0.rc3 lib/cfoundry/v2/domain.rb
cfoundry-0.6.0.rc2 lib/cfoundry/v2/domain.rb
cfoundry-0.6.0.rc1 lib/cfoundry/v2/domain.rb