Sha256: 8d83a7d65de76287552a46d20923c88637301e5431e6331ed6c946fd65bee8d1

Contents?: true

Size: 360 Bytes

Versions: 12

Compression:

Stored size: 360 Bytes

Contents

require "swa/record"

module Swa
  module Glue

    class Partition < Record

      def summary
        [
          creation_time,
          location
        ].join("  ")
      end

      def location
        aws_record.storage_descriptor.location
      end

      def creation_time
        aws_record.creation_time.iso8601
      end
      
    end

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
swa-0.8.3 lib/swa/glue/partition.rb
swa-0.8.2 lib/swa/glue/partition.rb
swa-0.8.1 lib/swa/glue/partition.rb
swa-0.8.0 lib/swa/glue/partition.rb
swa-0.7.7 lib/swa/glue/partition.rb
swa-0.7.6 lib/swa/glue/partition.rb
swa-0.7.5 lib/swa/glue/partition.rb
swa-0.7.4 lib/swa/glue/partition.rb
swa-0.7.3 lib/swa/glue/partition.rb
swa-0.7.2 lib/swa/glue/partition.rb
swa-0.7.1 lib/swa/glue/partition.rb
swa-0.7.0 lib/swa/glue/partition.rb