Sha256: 07e047d21b03c0b36b668c5faf4cb38d143898068a037d46096ef1b7c71f648c

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyVault
  module Commands
    class Write < Base
      # @!visibility private
      def subcommands
        %w[write]
      end

      # @!visibility private
      def options
        super + Options::Sets::HTTP_OPTIONS
      end

      # @!visibility private
      def arguments(parameters)
        [parameters[:path]]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_vault-0.1.0.pre.12 lib/ruby_vault/commands/write.rb
ruby_vault-0.1.0.pre.11 lib/ruby_vault/commands/write.rb