Sha256: c0c47afd01cc42d944ba2034d604ff5a8268c85adfad1319a5dcbd3c984d9102

Contents?: true

Size: 322 Bytes

Versions: 4

Compression:

Stored size: 322 Bytes

Contents

require "cfoundry/v2/model"

module CFoundry::V2
  class Organization < Model
    attribute :name, :string
    to_many   :spaces
    to_many   :domains
    to_many   :users
    to_many   :managers, :as => :user
    to_many   :billing_managers, :as => :user
    to_many   :auditors, :as => :user

    has_summary
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cfoundry-0.3.61 lib/cfoundry/v2/organization.rb
cfoundry-0.3.60 lib/cfoundry/v2/organization.rb
cfoundry-0.3.59 lib/cfoundry/v2/organization.rb
cfoundry-0.3.58 lib/cfoundry/v2/organization.rb