web_service_documenter 0.0.2 → 0.0.3

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/web_service_documenter.rb +3 -0
  2. metadata +3 -3
@@ -10,6 +10,7 @@ class WebServiceDocumenter
10
10
  @base_uri = base_uri
11
11
  @endpoint = options["endpoint"]
12
12
  @params = options["params"]
13
+ @description = options["description"]
13
14
  @method = (options["method"] || "get").downcase
14
15
  @example_params = create_example_params
15
16
  end
@@ -43,6 +44,8 @@ class WebServiceDocumenter
43
44
  body << "URL: #{@endpoint} (#{@method.upcase})\n"
44
45
  body << "\n"
45
46
 
47
+ body << "DESCRIPTION: #{@description}" << "\n \n" if @description
48
+
46
49
  body << "Request Params: \n"
47
50
  body << "\n"
48
51
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_service_documenter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Scott Taylor