Sha256: fcfe2a86fd41bad8849c6454444101ac31cdf1b8209444c259a19b302edf97b8

Contents?: true

Size: 616 Bytes

Versions: 30

Compression:

Stored size: 616 Bytes

Contents

require "cfoundry/v2/model"

module CFoundry::V2
  class Service < Model
    attribute :label, String
    attribute :provider, String
    attribute :unique_id, String
    attribute :url, :url
    attribute :description, String
    attribute :version, String
    attribute :info_url, :url
    attribute :acls, { "users" => [String], "wildcards" => [String] },
      :default => nil
    attribute :timeout, Integer, :default => nil
    attribute :active, :boolean, :default => false
    attribute :extra, String
    attribute :tags, [String]
    to_many   :service_plans

    queryable_by :service_plan_guid
  end
end

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
new_cfoundry-4.9.4 lib/cfoundry/v2/service.rb
new_cfoundry-4.9.3 lib/cfoundry/v2/service.rb
ncfoundry-4.9.4 lib/cfoundry/v2/service.rb
ncfoundry-4.9.3 lib/cfoundry/v2/service.rb
ncfoundry-4.9.2 lib/cfoundry/v2/service.rb
new_cfoundry-4.9.2 lib/cfoundry/v2/service.rb
new_cfoundry-4.9.1 lib/cfoundry/v2/service.rb
new_cfoundry-4.9.0 lib/cfoundry/v2/service.rb
new_cfoundry-4.8.3 lib/cfoundry/v2/service.rb
new_cfoundry-4.8.2 lib/cfoundry/v2/service.rb
cfoundry-4.7.2.rc1 lib/cfoundry/v2/service.rb
cfoundry-4.7.1 lib/cfoundry/v2/service.rb
cfoundry-4.7.1.rc1 lib/cfoundry/v2/service.rb
cfoundry-4.7.0 lib/cfoundry/v2/service.rb
cfoundry-4.6.3.rc3 lib/cfoundry/v2/service.rb
cfoundry-4.6.3.rc2 lib/cfoundry/v2/service.rb
cfoundry-4.6.3.rc1 lib/cfoundry/v2/service.rb
cfoundry-4.6.2 lib/cfoundry/v2/service.rb
cfoundry-4.6.1 lib/cfoundry/v2/service.rb
cfoundry-4.6.0 lib/cfoundry/v2/service.rb