Class: AWSPricing::S3
- Inherits:
-
Object
- Object
- AWSPricing::S3
- Defined in:
- lib/aws-pricing/products/s3.rb
Constant Summary collapse
- S3_BASE_URL =
Simple Storage Service pricing data
'/s3/pricing/pricing-'
Class Method Summary collapse
-
.data_transfer ⇒ Object
Returns Hash of data transfer pricing information.
-
.requests ⇒ Object
Returns Hash of request pricing information.
-
.storage ⇒ Object
Returns Hash of storage pricing information.
Class Method Details
.data_transfer ⇒ Object
Returns Hash of data transfer pricing information
13 14 15 |
# File 'lib/aws-pricing/products/s3.rb', line 13 def self.data_transfer Base.get(S3_BASE_URL + 'data-transfer') end |
.requests ⇒ Object
Returns Hash of request pricing information
18 19 20 |
# File 'lib/aws-pricing/products/s3.rb', line 18 def self.requests Base.get(S3_BASE_URL + 'requests') end |
.storage ⇒ Object
Returns Hash of storage pricing information
8 9 10 |
# File 'lib/aws-pricing/products/s3.rb', line 8 def self.storage Base.get(S3_BASE_URL + 'storage') end |