Sha256: 8932f32943afc535620f36cd77fb5f6aaf2b78f0949b26f41a1b29914f5f265e

Contents?: true

Size: 524 Bytes

Versions: 59

Compression:

Stored size: 524 Bytes

Contents

require "cfoundry/v2/model"

module CFoundry::V2
  class Service < Model
    attribute :label, String
    attribute :provider, 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
    to_many   :service_plans

    queryable_by :service_plan_guid
  end
end

Version data entries

59 entries across 59 versions & 3 rubygems

Version Path
cfoundry-0.4.18 lib/cfoundry/v2/service.rb
cfoundry-0.4.17 lib/cfoundry/v2/service.rb
cfoundry-0.4.16 lib/cfoundry/v2/service.rb
cfoundry-0.4.15 lib/cfoundry/v2/service.rb
cfoundry-0.4.14 lib/cfoundry/v2/service.rb
cfoundry-0.4.13 lib/cfoundry/v2/service.rb
cfoundry-0.4.12 lib/cfoundry/v2/service.rb
cfoundry-0.4.11 lib/cfoundry/v2/service.rb
cfoundry-0.4.10 lib/cfoundry/v2/service.rb
cfoundry-0.4.9 lib/cfoundry/v2/service.rb
cfoundry-0.4.8 lib/cfoundry/v2/service.rb
cfoundry-0.4.7 lib/cfoundry/v2/service.rb
cfoundry-0.4.6 lib/cfoundry/v2/service.rb
cfoundry-0.4.5 lib/cfoundry/v2/service.rb
cfoundry-0.4.4 lib/cfoundry/v2/service.rb
cfoundry-0.4.3 lib/cfoundry/v2/service.rb
cfoundry-0.4.2 lib/cfoundry/v2/service.rb
cfoundry-0.4.1 lib/cfoundry/v2/service.rb
cfoundry-0.4.0 lib/cfoundry/v2/service.rb