Sha256: 52ba12a3d53ad63d70341d3d1a717a37b891eb9b318bb54984a8639c1d96e695

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true
require 'rack'
require 'proxes/request'

module ProxES
  class Request
    class Snapshot < ProxES::Request
      attr_reader :repository

      def parse
        @repository ||= check_part(path_parts[1])
        @repository = [] if repository.nil?
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
proxes-0.2.0 lib/proxes/request/snapshot.rb
proxes-0.1.0 lib/proxes/request/snapshot.rb