Class: AwsPricing::Ec2PriceList
- Includes:
- Ec2Common
- Defined in:
- lib/amazon-pricing/ec2-price-list.rb
Constant Summary
Constants inherited from PriceList
Instance Attribute Summary
Attributes inherited from PriceList
Instance Method Summary collapse
-
#initialize ⇒ Ec2PriceList
constructor
A new instance of Ec2PriceList.
Methods included from Ec2Common
#ensure_existence_of_instance_type, #fetch_ec2_instance_pricing, #fetch_ec2_instance_pricing_ri_v2, #find_or_create_instance_type, #set_od_price_if_missing
Methods inherited from PriceList
fetch_url, #get_instance_type, #get_instance_types, #get_region
Constructor Details
#initialize ⇒ Ec2PriceList
Returns a new instance of Ec2PriceList.
5 6 7 8 9 10 11 12 |
# File 'lib/amazon-pricing/ec2-price-list.rb', line 5 def initialize super InstanceType.populate_lookups get_ec2_on_demand_instance_pricing get_ec2_legacy_reserved_instance_pricing get_ec2_reserved_instance_pricing fetch_ec2_ebs_pricing end |