Sha256: c79192b313a753a84c6862c858b6c1de402ff83390ae1952beabde3e6e6dd971

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

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

      # @!visibility private
      def options
        super + Options::Sets::HTTP_OPTIONS + ['-method']
      end

      def arguments(parameters)
        [parameters[:auth]]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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