Sha256: 72a1c7123217b135470d65bafbd3c5399aec30850df99377b8c2371c3d1456e3

Contents?: true

Size: 308 Bytes

Versions: 5

Compression:

Stored size: 308 Bytes

Contents

module Cifrado
  module Plugins
    class Saio
      
      desc 'regions', 'List regions available'
      def regions
        regions = service.regions.all
        service.regions.each do |r|
          Log.info "[#{r.id}]".ljust(10) + "  #{r.name}"
        end
        regions
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cifrado-0.2.1 lib/cifrado/cli/saio/regions.rb
cifrado-0.2.0 lib/cifrado/cli/saio/regions.rb
cifrado-0.1.3 lib/cifrado/cli/saio/regions.rb
cifrado-0.1.2 lib/cifrado/cli/saio/regions.rb
cifrado-0.1.1 lib/cifrado/cli/saio/regions.rb