Class: AWSPricing::S3

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

Class Method Details

.data_transferObject

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

.requestsObject

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

.storageObject

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