app-mgr 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/app-mgr.rb +3 -3
  2. metadata +1 -1
@@ -2,9 +2,9 @@
2
2
 
3
3
  # file: app-mgr.rb
4
4
  class AppMgr
5
- def initialize(content_type)
5
+ def initialize()
6
6
  @app = {}
7
- @content_type = content_type
7
+ @content_type = 'text/xml'
8
8
  super()
9
9
  end
10
10
 
@@ -89,7 +89,7 @@ class AppMgr
89
89
 
90
90
  params = "<params>%s</params>" % qparams.map{|k,v| "<param var='%s'>%s</param>" % [k,v]}.join
91
91
  xml_project = project = "<project name='%s'><methods><method name='%s'>%s</method></methods></project>" % [project_name, method_name, params]
92
- projectx_handler(xml_project)
92
+ [projectx_handler(xml_project), @content_type]
93
93
  end
94
94
 
95
95
  def projectx_handler(xml_project)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-mgr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors: []
7
7