Sha256: 99fd0f61587eddffe329cc5d10f3595ffdb9a3ce55f8ebe6e874cd1c8f02cbaa

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 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], parameters[:data]].flatten
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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