Sha256: ad0fa9e9587947dc1caf49dc3192350446ce006c09cb48fd5c23316d85f0c624

Contents?: true

Size: 487 Bytes

Versions: 41

Compression:

Stored size: 487 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
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
cfoundry-0.3.61 lib/cfoundry/v2/service.rb
cfoundry-0.3.60 lib/cfoundry/v2/service.rb
cfoundry-0.3.59 lib/cfoundry/v2/service.rb
cfoundry-0.3.58 lib/cfoundry/v2/service.rb
cfoundry-0.3.57 lib/cfoundry/v2/service.rb
cfoundry-0.3.56 lib/cfoundry/v2/service.rb
cfoundry-0.3.55 lib/cfoundry/v2/service.rb
cfoundry-0.3.54 lib/cfoundry/v2/service.rb
cfoundry-0.3.53 lib/cfoundry/v2/service.rb
cfoundry-0.3.52 lib/cfoundry/v2/service.rb
cfoundry-0.3.51 lib/cfoundry/v2/service.rb
cfoundry-0.3.50 lib/cfoundry/v2/service.rb
cfoundry-0.3.49 lib/cfoundry/v2/service.rb
cfoundry-0.3.48 lib/cfoundry/v2/service.rb
cfoundry-0.3.47 lib/cfoundry/v2/service.rb
cfoundry-0.3.46 lib/cfoundry/v2/service.rb
cfoundry-0.3.45 lib/cfoundry/v2/service.rb
cfoundry-0.3.44 lib/cfoundry/v2/service.rb
cfoundry-0.3.43 lib/cfoundry/v2/service.rb
cfoundry-0.3.42 lib/cfoundry/v2/service.rb