Sha256: 3514ed960312f0a7ebcb5ceba6477415b55f5b6c914ea8d1540bbd6e288d2e9c

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 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

    scoped_to_organization :owning_organization
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cfoundry-0.3.51 lib/cfoundry/v2/domain.rb
cfoundry-0.3.50 lib/cfoundry/v2/domain.rb