Class: CFoundry::V1::ServicePlan
- Inherits:
-
Object
- Object
- CFoundry::V1::ServicePlan
- Defined in:
- lib/cfoundry/v1/service_plan.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #default? ⇒ Boolean
-
#initialize(name, description, is_default) ⇒ ServicePlan
constructor
A new instance of ServicePlan.
Constructor Details
#initialize(name, description, is_default) ⇒ ServicePlan
Returns a new instance of ServicePlan.
7 8 9 10 11 |
# File 'lib/cfoundry/v1/service_plan.rb', line 7 def initialize(name, description, is_default) @name = name @description = description @is_default = is_default end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/cfoundry/v1/service_plan.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/cfoundry/v1/service_plan.rb', line 5 def name @name end |
Instance Method Details
#default? ⇒ Boolean
13 14 15 |
# File 'lib/cfoundry/v1/service_plan.rb', line 13 def default? @is_default end |