Class: VCAP::Services::ServicePlanChangeSet
- Defined in:
- lib/base/service_plan_change_set.rb
Instance Attribute Summary collapse
-
#plans_to_add ⇒ Object
readonly
Returns the value of attribute plans_to_add.
-
#plans_to_update ⇒ Object
readonly
Returns the value of attribute plans_to_update.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
-
#service_guid ⇒ Object
readonly
Returns the value of attribute service_guid.
Instance Method Summary collapse
-
#initialize(service, service_guid, options = {}) ⇒ ServicePlanChangeSet
constructor
A new instance of ServicePlanChangeSet.
Constructor Details
#initialize(service, service_guid, options = {}) ⇒ ServicePlanChangeSet
Returns a new instance of ServicePlanChangeSet.
4 5 6 7 8 9 |
# File 'lib/base/service_plan_change_set.rb', line 4 def initialize(service, service_guid, = {}) @service = service @service_guid = service_guid @plans_to_add = [:plans_to_add] || [] @plans_to_update = [:plans_to_update] || [] end |
Instance Attribute Details
#plans_to_add ⇒ Object (readonly)
Returns the value of attribute plans_to_add.
3 4 5 |
# File 'lib/base/service_plan_change_set.rb', line 3 def plans_to_add @plans_to_add end |
#plans_to_update ⇒ Object (readonly)
Returns the value of attribute plans_to_update.
3 4 5 |
# File 'lib/base/service_plan_change_set.rb', line 3 def plans_to_update @plans_to_update end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
3 4 5 |
# File 'lib/base/service_plan_change_set.rb', line 3 def service @service end |
#service_guid ⇒ Object (readonly)
Returns the value of attribute service_guid.
3 4 5 |
# File 'lib/base/service_plan_change_set.rb', line 3 def service_guid @service_guid end |