Class: Softlayer::Product::Item::Price::Premium
- Defined in:
- lib/softlayer/product/item/price/premium.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Product_Item_Price_Premium'
Instance Attribute Summary collapse
-
#hourly_modifier ⇒ Object
Returns the value of attribute hourly_modifier.
-
#item_price ⇒ Object
Returns the value of attribute item_price.
-
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
-
#monthly_modifier ⇒ Object
Returns the value of attribute monthly_modifier.
-
#package ⇒ Object
Returns the value of attribute package.
-
#package_id ⇒ Object
Returns the value of attribute package_id.
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#hourly_modifier ⇒ Object
Returns the value of attribute hourly_modifier.
7 8 9 |
# File 'lib/softlayer/product/item/price/premium.rb', line 7 def hourly_modifier @hourly_modifier end |
#item_price ⇒ Object
Returns the value of attribute item_price.
12 13 14 |
# File 'lib/softlayer/product/item/price/premium.rb', line 12 def item_price @item_price end |
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
8 9 10 |
# File 'lib/softlayer/product/item/price/premium.rb', line 8 def item_price_id @item_price_id end |
#location ⇒ Object
Returns the value of attribute location.
13 14 15 |
# File 'lib/softlayer/product/item/price/premium.rb', line 13 def location @location end |
#location_id ⇒ Object
Returns the value of attribute location_id.
9 10 11 |
# File 'lib/softlayer/product/item/price/premium.rb', line 9 def location_id @location_id end |
#monthly_modifier ⇒ Object
Returns the value of attribute monthly_modifier.
10 11 12 |
# File 'lib/softlayer/product/item/price/premium.rb', line 10 def monthly_modifier @monthly_modifier end |
#package ⇒ Object
Returns the value of attribute package.
14 15 16 |
# File 'lib/softlayer/product/item/price/premium.rb', line 14 def package @package end |
#package_id ⇒ Object
Returns the value of attribute package_id.
11 12 13 |
# File 'lib/softlayer/product/item/price/premium.rb', line 11 def package_id @package_id end |
Instance Method Details
#get_item_price ⇒ Object
16 17 18 |
# File 'lib/softlayer/product/item/price/premium.rb', line 16 def get_item_price request(:get_item_price, Softlayer::Product::Item::Price) end |
#get_location ⇒ Object
20 21 22 |
# File 'lib/softlayer/product/item/price/premium.rb', line 20 def get_location request(:get_location, Softlayer::Location) end |