Class: AWSPricing::CloudFront

Inherits:
Object
  • Object
show all
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

Class Method Details

.data_transferObject

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

.requestsObject

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