playerconnect-wsdsl 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/wsdsl.rb +14 -3
- data/playerconnect-wsdsl.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ Jeweler::Tasks.new do |gem|
|
|
11
11
|
gem.description = %Q{A Ruby DSL describing Web Services without implementation details.}
|
12
12
|
gem.email = "sdod"
|
13
13
|
gem.authors = ["Team SDOD"]
|
14
|
-
gem.version = "0.2.
|
14
|
+
gem.version = "0.2.4"
|
15
15
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
16
16
|
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
17
17
|
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/lib/wsdsl.rb
CHANGED
@@ -75,7 +75,18 @@ class WSDSL
|
|
75
75
|
# @return [WSController]
|
76
76
|
# @api public
|
77
77
|
attr_reader :controller
|
78
|
-
|
78
|
+
|
79
|
+
# Name of the controller action associated with the service
|
80
|
+
# @param [String, Symbol]
|
81
|
+
#
|
82
|
+
# @api public
|
83
|
+
attr_writer :action
|
84
|
+
|
85
|
+
# Name of the controller associated with the service
|
86
|
+
# @param [String, Symbol]
|
87
|
+
# @api public
|
88
|
+
attr_writer :controller_name
|
89
|
+
|
79
90
|
# Name of the service
|
80
91
|
#
|
81
92
|
# @return [String]
|
@@ -265,7 +276,7 @@ class WSDSL
|
|
265
276
|
# Sets and/or returns the service action
|
266
277
|
# @param [String, Symbol] a Action to use for the service, such as :show
|
267
278
|
#
|
268
|
-
# @return Symbol The service action
|
279
|
+
# @return [Symbol] The service action
|
269
280
|
# @api public
|
270
281
|
def action(a=nil)
|
271
282
|
@action = a.to_sym if a
|
@@ -275,7 +286,7 @@ class WSDSL
|
|
275
286
|
# Sets and/or returns the controller name
|
276
287
|
# @param [String, Symbol] cn Controller name to use for the service
|
277
288
|
#
|
278
|
-
# @return String The controller name
|
289
|
+
# @return [String] The controller name
|
279
290
|
# @api public
|
280
291
|
def controller_name(cn=nil)
|
281
292
|
@controller_name = cn.to_s if cn
|
data/playerconnect-wsdsl.gemspec
CHANGED