class Vagrant::Plugin::Remote::Push
This class enables Push
for server mode
Attributes
client[RW]
Add an attribute accesor for the client when applied to the Push
class
Public Class Methods
new(env, config, **opts)
click to toggle source
Calls superclass method
# File lib/vagrant/plugin/remote/push.rb, line 10 def initialize(env, config, **opts) if opts[:client].nil? raise ArgumentError, "Remote client is required for `#{self.class.name}`" end @client = opts[:client] super(env, config) end
Public Instance Methods
push()
click to toggle source
# File lib/vagrant/plugin/remote/push.rb, line 19 def push client.push end