Class: Vagrant::Plugin::V2::Push

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant/plugin/v2/push.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(env, config) ⇒ Push

Initializes the pusher with the given environment the push configuration.

Parameters:

  • env (Environment)
  • config (Object)

    Push configuration


13
14
15
16
# File 'lib/vagrant/plugin/v2/push.rb', line 13

def initialize(env, config)
  @env     = env
  @config  = config
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.


6
7
8
# File 'lib/vagrant/plugin/v2/push.rb', line 6

def config
  @config
end

#envObject (readonly)

Returns the value of attribute env.


5
6
7
# File 'lib/vagrant/plugin/v2/push.rb', line 5

def env
  @env
end

Instance Method Details

#pushObject

This is the method called when the actual pushing should be done.

No return value is expected.


22
23
# File 'lib/vagrant/plugin/v2/push.rb', line 22

def push
end