Sha256: 86ab9a858908141c4950d9a42ee883dd749d873dd590d44411af6e8417e995cc

Contents?: true

Size: 369 Bytes

Versions: 22

Compression:

Stored size: 369 Bytes

Contents

require "cf/cli/populators/organization"
require "cf/cli/populators/space"

module CF
  module Populators
    class Target < Base
      def populate_and_save!
        organization = CF::Populators::Organization.new(input).populate_and_save!

        CF::Populators::Space.new(input, organization).populate_and_save! unless organization.nil?
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
cf-5.4.7 lib/cf/cli/populators/target.rb
cf-5.4.7.rc1 lib/cf/cli/populators/target.rb
cf-5.4.5 lib/cf/cli/populators/target.rb
cf-5.4.4 lib/cf/cli/populators/target.rb
trucker-cli-0.0.3 lib/cf/cli/populators/target.rb
cf-5.4.3 lib/cf/cli/populators/target.rb
cf-5.4.2 lib/cf/cli/populators/target.rb
trucker-cli-0.0.2 lib/cf/cli/populators/target.rb
trucker-cli-0.0.1 lib/cf/cli/populators/target.rb
cf-5.4.1 lib/cf/cli/populators/target.rb
cf-5.4.1.rc1 lib/cf/cli/populators/target.rb
cf-5.4.0 lib/cf/cli/populators/target.rb
cf-5.3.1 lib/cf/cli/populators/target.rb
cf-5.3.0 lib/cf/cli/populators/target.rb
cf-5.2.2 lib/cf/cli/populators/target.rb
cf-5.2.1.rc15 lib/cf/cli/populators/target.rb
cf-5.2.1.rc14 lib/cf/cli/populators/target.rb
cf-5.2.1.rc13 lib/cf/cli/populators/target.rb
cf-5.2.1.rc12 lib/cf/cli/populators/target.rb
cf-5.2.1.rc11 lib/cf/cli/populators/target.rb