Class: RestApplicationEstimate
- Inherits:
-
OpenShift::Model
- Object
- OpenShift::Model
- RestApplicationEstimate
- Defined in:
- app/models/rest_application_estimate.rb
Instance Attribute Summary collapse
-
#components ⇒ Object
Returns the value of attribute components.
Instance Method Summary collapse
-
#initialize(components) ⇒ RestApplicationEstimate
constructor
A new instance of RestApplicationEstimate.
- #to_xml(options = {}) ⇒ Object
Constructor Details
#initialize(components) ⇒ RestApplicationEstimate
Returns a new instance of RestApplicationEstimate.
4 5 6 |
# File 'app/models/rest_application_estimate.rb', line 4 def initialize(components) self.components = components end |
Instance Attribute Details
#components ⇒ Object
Returns the value of attribute components.
2 3 4 |
# File 'app/models/rest_application_estimate.rb', line 2 def components @components end |
Instance Method Details
#to_xml(options = {}) ⇒ Object
8 9 10 11 |
# File 'app/models/rest_application_estimate.rb', line 8 def to_xml(={}) [:tag_name] = "gear" super() end |