Class: Region
- Inherits:
-
Object
- Object
- Region
- Defined in:
- lib/s3rbsync/region.rb
Class Method Summary collapse
Class Method Details
.names ⇒ Object
9 10 11 |
# File 'lib/s3rbsync/region.rb', line 9 def self.names ["us-east-1", "us-west-1", "us-west-2", "eu-west-1", "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "sa-east-1"] end |
.printable_list ⇒ Object
3 4 5 6 7 |
# File 'lib/s3rbsync/region.rb', line 3 def self.printable_list describes = ["Location Name:", "Virginia", "California", "Oregon", "Ireland", "Tokyo", "Singapore", "Sydney", "Sao Paulo"] regions = self.names.unshift("Region Name:") [regions, describes] end |