Class: App42::AppTab::PackageData
- Inherits:
-
App42Response
- Object
- App42Response
- App42::AppTab::PackageData
- Defined in:
- lib/appTab/PackageData.rb
Instance Attribute Summary collapse
-
#bandwidthData ⇒ Object
Returns the value of attribute bandwidthData.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#description ⇒ Object
Returns the value of attribute description.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#featureData ⇒ Object
Returns the value of attribute featureData.
-
#name ⇒ Object
Returns the value of attribute name.
-
#packageList ⇒ Object
Returns the value of attribute packageList.
-
#price ⇒ Object
Returns the value of attribute price.
-
#storageData ⇒ Object
Returns the value of attribute storageData.
Attributes inherited from App42Response
#isResponseSuccess, #strResponse, #totalRecords
Instance Method Summary collapse
Instance Attribute Details
#bandwidthData ⇒ Object
Returns the value of attribute bandwidthData.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def bandwidthData @bandwidthData end |
#currency ⇒ Object
Returns the value of attribute currency.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def currency @currency end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def description @description end |
#duration ⇒ Object
Returns the value of attribute duration.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def duration @duration end |
#featureData ⇒ Object
Returns the value of attribute featureData.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def featureData @featureData end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def name @name end |
#packageList ⇒ Object
Returns the value of attribute packageList.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def packageList @packageList end |
#price ⇒ Object
Returns the value of attribute price.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def price @price end |
#storageData ⇒ Object
Returns the value of attribute storageData.
6 7 8 |
# File 'lib/appTab/PackageData.rb', line 6 def storageData @storageData end |
Instance Method Details
#getJSONObject ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/appTab/PackageData.rb', line 16 def getJSONObject obj = Hash.new() obj.store("name", self.name); obj.store("duration", self.duration); obj.store("currency", self.currency); obj.store("description", self.description); return obj; end |