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 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.3"
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.3
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{playerconnect-wsdsl}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Team SDOD}]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playerconnect-wsdsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: