Sha256: 45e1b21a7b5f89b980bcf8b7f27659f4786676c55976f428c3c0540324b2ef30

Contents?: true

Size: 637 Bytes

Versions: 4

Compression:

Stored size: 637 Bytes

Contents

module VagrantPlugins
  module CommandServe
    module Util
      module NamedPlugin
        module Service
          def set_plugin_name(req, ctx)
            # No opt
            Empty.new
          end
  
          def plugin_name(req, ctx)
            with_info(ctx, broker: broker) do |info|
              SDK::PluginInfo::Name.new(
                name: info.plugin_name
              )
            end
          end
        end

        module Client
          # @return [String] plugin name
          def name
            c = client.plugin_name(Empty.new)
            c.name
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/commands/serve/util/named_plugin.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/commands/serve/util/named_plugin.rb
vagrant-unbundled-2.3.3.0 plugins/commands/serve/util/named_plugin.rb
vagrant-unbundled-2.3.2.0 plugins/commands/serve/util/named_plugin.rb