Class: AWSPricing::CloudFront
- Inherits:
-
Object
- Object
- AWSPricing::CloudFront
- Defined in:
- lib/aws-pricing/products/cloudfront.rb
Constant Summary collapse
- CLOUDFRONT_BASE_URL =
Cloudfront pricing data
'/cloudfront/pricing/pricing-cloudfront-'
Class Method Summary collapse
-
.data_transfer ⇒ Object
Returns Hash of data transfer pricing information.
-
.requests ⇒ Object
Returns Hash of request pricing information.
Class Method Details
.data_transfer ⇒ Object
Returns Hash of data transfer pricing information
12 13 14 |
# File 'lib/aws-pricing/products/cloudfront.rb', line 12 def self.data_transfer Base.get(CLOUDFRONT_BASE_URL + 'on-demand') end |
.requests ⇒ Object
Returns Hash of request pricing information
7 8 9 |
# File 'lib/aws-pricing/products/cloudfront.rb', line 7 def self.requests Base.get(CLOUDFRONT_BASE_URL + 'requests') end |