Sha256: 83b9850587deb8d8745295dd54fd3997ea6659ee6a00493e3f9843fa07454f33

Contents?: true

Size: 348 Bytes

Versions: 23

Compression:

Stored size: 348 Bytes

Contents

class ServiceHelper
  def initialize(service)
    @service = service
  end

  def label
    @service.label
  end

  def provider
    @service.provider || 'n/a'
  end

  def version
    @service.version || 'n/a'
  end

  def service_plans
    @service.service_plans.map(&:name).join(', ')
  end

  def description
    @service.description
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

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