Sha256: 91c4405955774f64ac39f28ee58cec367bb8add58b396f39719c216394e3fe84

Contents?: true

Size: 389 Bytes

Versions: 12

Compression:

Stored size: 389 Bytes

Contents

require "cfoundry/v2/model"

module CFoundry::V2
  class ServiceInstance < Model
    attribute :name, :string
    attribute :dashboard_url, :string
    attribute :credentials, :hash
    to_one    :space
    to_one    :service_plan
    to_many   :service_bindings

    scoped_to_space

    queryable_by :name, :space_guid, :service_plan_guid, :service_binding_guid, :gateway_name
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cfoundry-4.0.4.rc1 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.3 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.2.rc5 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.2.rc4 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.2.rc3 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.2.rc2 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.2.rc1 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.1 lib/cfoundry/v2/service_instance.rb
cfoundry-4.0.0 lib/cfoundry/v2/service_instance.rb
cfoundry-3.0.1 lib/cfoundry/v2/service_instance.rb
cfoundry-3.0.0 lib/cfoundry/v2/service_instance.rb
cfoundry-2.4.1.rc1 lib/cfoundry/v2/service_instance.rb