Sha256: 764bfc820a1e3cbf28cde0fb65472d47812aee378c2a2d3a7ced2b5fe088015e

Contents?: true

Size: 374 Bytes

Versions: 16

Compression:

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
cfoundry-2.4.0 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.7.rc1 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.6 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.6.rc2 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.6.rc1 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.5 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.4 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.3 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.2 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.1 lib/cfoundry/v2/service_instance.rb
cfoundry-2.3.0 lib/cfoundry/v2/service_instance.rb
cfoundry-2.2.0rc3 lib/cfoundry/v2/service_instance.rb
cfoundry-2.2.0.rc2 lib/cfoundry/v2/service_instance.rb
cfoundry-2.2.0.rc1 lib/cfoundry/v2/service_instance.rb
cfoundry-2.1.2.rc1 lib/cfoundry/v2/service_instance.rb
cfoundry-2.1.1 lib/cfoundry/v2/service_instance.rb