Sha256: ba0976b10ea4aa58df56aeb41c9d38bfc675b2bb1abd874c94f670bb1eedfc00

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

require "cfoundry/v2/model"

module CFoundry::V2
  class AppSpace < Model
    attribute :name
    to_one    :organization
    to_many   :developers, :as => :user
    to_many   :managers, :as => :user
    to_many   :auditors, :as => :user
    to_many   :apps
    to_many   :domains
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cfoundry-0.3.2 lib/cfoundry/v2/space.rb
cfoundry-0.3.1 lib/cfoundry/v2/space.rb
cfoundry-0.3.0 lib/cfoundry/v2/space.rb