Sha256: 49dd370df0320680bae190470eac27f1a0ffa185bd6c88660f947773d2e357e0

Contents?: true

Size: 305 Bytes

Versions: 37

Compression:

Stored size: 305 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
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
cfoundry-0.3.39 lib/cfoundry/v2/organization.rb
cfoundry-0.3.38 lib/cfoundry/v2/organization.rb
cfoundry-0.3.37 lib/cfoundry/v2/organization.rb
cfoundry-0.3.36 lib/cfoundry/v2/organization.rb
cfoundry-0.3.35 lib/cfoundry/v2/organization.rb
cfoundry-IronFoundry-0.3.34 lib/cfoundry/v2/organization.rb
cfoundry-0.3.34 lib/cfoundry/v2/organization.rb
cfoundry-0.3.33 lib/cfoundry/v2/organization.rb
cfoundry-0.3.32 lib/cfoundry/v2/organization.rb
cfoundry-0.3.31 lib/cfoundry/v2/organization.rb
cfoundry-0.3.30 lib/cfoundry/v2/organization.rb
cfoundry-0.3.29 lib/cfoundry/v2/organization.rb
cfoundry-0.3.28 lib/cfoundry/v2/organization.rb
cfoundry-0.3.27 lib/cfoundry/v2/organization.rb
cfoundry-0.3.26 lib/cfoundry/v2/organization.rb
cfoundry-0.3.25 lib/cfoundry/v2/organization.rb
cfoundry-0.3.24 lib/cfoundry/v2/organization.rb