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
cfoundry-4.5.3 lib/cfoundry/v2/service.rb
cfoundry-4.5.2 lib/cfoundry/v2/service.rb
cfoundry-4.5.1 lib/cfoundry/v2/service.rb
cfoundry-4.5.0 lib/cfoundry/v2/service.rb
cfoundry-4.3.12 lib/cfoundry/v2/service.rb
cfoundry-4.3.11 lib/cfoundry/v2/service.rb
cfoundry-4.3.10 lib/cfoundry/v2/service.rb
cfoundry-4.3.9 lib/cfoundry/v2/service.rb
cfoundry-4.3.8 lib/cfoundry/v2/service.rb
cfoundry-4.3.7 lib/cfoundry/v2/service.rb