Class: Rebuy_Deployment

Inherits:
Object
  • Object
show all
Defined in:
lib/rebuy_deployment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRebuy_Deployment

Returns a new instance of Rebuy_Deployment.



3
4
5
# File 'lib/rebuy_deployment.rb', line 3

def initialize
    @path = File.expand_path File.dirname(__FILE__)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



2
3
4
# File 'lib/rebuy_deployment.rb', line 2

def path
  @path
end

Instance Method Details

#get_rakefile_pathObject



11
12
13
# File 'lib/rebuy_deployment.rb', line 11

def get_rakefile_path
    @path + "/rebuy_deployment/rakefile"
end

#get_receipt_pathObject



7
8
9
# File 'lib/rebuy_deployment.rb', line 7

def get_receipt_path
    @path + "/rebuy_deployment/deploy.rb"
end