Class: HooplaSalesforce::Rake::BaseTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- HooplaSalesforce::Rake::BaseTask
- Defined in:
- lib/hoopla_salesforce/rake/base_task.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#enterprise_wsdl ⇒ Object
Path to your enterprise WSDL.
-
#metadata_wsdl ⇒ Object
Path to your metadata WSDL.
-
#name ⇒ Object
The name for the task and any dependencies.
-
#password ⇒ Object
Your salesforce password.
-
#token ⇒ Object
Your salesforce API token, which will get concatenated onto your password.
-
#username ⇒ Object
Your salesforce username.
Instance Method Summary collapse
-
#initialize(name) {|_self| ... } ⇒ BaseTask
constructor
A new instance of BaseTask.
Constructor Details
#initialize(name) {|_self| ... } ⇒ BaseTask
Returns a new instance of BaseTask.
26 27 28 29 30 31 32 33 |
# File 'lib/hoopla_salesforce/rake/base_task.rb', line 26 def initialize(name) @name = name @enterprise_wsdl = HooplaSalesforce.enterprise_wsdl @metadata_wsdl = HooplaSalesforce. yield self if block_given? define end |
Instance Attribute Details
#enterprise_wsdl ⇒ Object
Path to your enterprise WSDL. Defaults to value of HooplaSalesforce.enterprise_wsdl.
21 22 23 |
# File 'lib/hoopla_salesforce/rake/base_task.rb', line 21 def enterprise_wsdl @enterprise_wsdl end |
#metadata_wsdl ⇒ Object
Path to your metadata WSDL. Defaults to value of HooplaSalesforce.metadata_wsdl.
24 25 26 |
# File 'lib/hoopla_salesforce/rake/base_task.rb', line 24 def @metadata_wsdl end |
#name ⇒ Object
The name for the task and any dependencies.
9 10 11 |
# File 'lib/hoopla_salesforce/rake/base_task.rb', line 9 def name @name end |
#password ⇒ Object
Your salesforce password
15 16 17 |
# File 'lib/hoopla_salesforce/rake/base_task.rb', line 15 def password @password end |
#token ⇒ Object
Your salesforce API token, which will get concatenated onto your password.
18 19 20 |
# File 'lib/hoopla_salesforce/rake/base_task.rb', line 18 def token @token end |
#username ⇒ Object
Your salesforce username
12 13 14 |
# File 'lib/hoopla_salesforce/rake/base_task.rb', line 12 def username @username end |