Module: Cloudwalk::ManagerHelper
- Included in:
- CwFileJson, Deploy, Posxml::PosxmlApplication, Posxml::PosxmlVersion, Posxml::RakeTask, Ruby::RakeTask, Ruby::RubyApplication
- Defined in:
- lib/cloudwalk/manager_helper.rb
Class Method Summary collapse
Instance Method Summary collapse
- #host ⇒ Object
- #posxml2xml(str) ⇒ Object
- #token ⇒ Object
- #xml2posxml(str) ⇒ Object
- #xml2rb(str) ⇒ Object
Class Method Details
.included(base) ⇒ Object
3 4 5 |
# File 'lib/cloudwalk/manager_helper.rb', line 3 def self.included(base) base.extend(self) end |
Instance Method Details
#host ⇒ Object
11 12 13 |
# File 'lib/cloudwalk/manager_helper.rb', line 11 def host Cloudwalk::Config.host end |
#posxml2xml(str) ⇒ Object
15 16 17 |
# File 'lib/cloudwalk/manager_helper.rb', line 15 def posxml2xml(str) str.sub(".posxml", ".xml") end |
#token ⇒ Object
7 8 9 |
# File 'lib/cloudwalk/manager_helper.rb', line 7 def token Cloudwalk::Config.token end |
#xml2posxml(str) ⇒ Object
19 20 21 |
# File 'lib/cloudwalk/manager_helper.rb', line 19 def xml2posxml(str) str.sub(".xml", ".posxml") end |
#xml2rb(str) ⇒ Object
23 24 25 |
# File 'lib/cloudwalk/manager_helper.rb', line 23 def xml2rb(str) str.sub(".xml", "_xml.rb") end |