app/models/runtime/organization.rb
Class Organization
has 39 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Organization < Sequel::Model
ORG_NAME_REGEX = /\A[[:alnum:][:punct:][:print:]]+\Z/
ACTIVE = 'active'.freeze
SUSPENDED = 'suspended'.freeze
ORG_STATUS_VALUES = [ACTIVE, SUSPENDED].freeze
File organization.rb
has 269 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'models/helpers/process_types'
module VCAP::CloudController
class Organization < Sequel::Model
ORG_NAME_REGEX = /\A[[:alnum:][:punct:][:print:]]+\Z/
TODO found Open
Open
# TODO: Change this to use add_association_dependencies when v2 is removed
- Exclude checks