Sha256: 6757b9b72ec71c69e72d4d4ae8cc29db4b5895ceb0da48e054c92af6212c78bf

Contents?: true

Size: 358 Bytes

Versions: 6

Compression:

Stored size: 358 Bytes

Contents

module Backup
  module Configuration
    class Storage
      attr_accessor :attributes 

      %w(ip user password path access_key_id secret_access_key use_ssl bucket).each do |method|
        define_method method do |value|
          attributes[method] = value
        end
      end

      def initialize
        @attributes = {}
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
backup-2.3.1 lib/backup/configuration/storage.rb
backup-2.3.0.3 lib/backup/configuration/storage.rb
backup-2.3.0.2 lib/backup/configuration/storage.rb
backup-2.3.0.1 lib/backup/configuration/storage.rb
backup-2.3.0 lib/backup/configuration/storage.rb
backup-2.2.1 lib/backup/configuration/storage.rb