DistelliServiceInterface 1.0 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/distelli/serviceinterface.rb +2 -2
- metadata +3 -3
@@ -24,8 +24,8 @@ module Distelli
|
|
24
24
|
end
|
25
25
|
|
26
26
|
class ServerError < BaseException
|
27
|
-
def initialize(msg=nil)
|
28
|
-
super(msg,
|
27
|
+
def initialize(msg=nil, err_code="InternalServerError", err_msg="Internal server error", http_code=500)
|
28
|
+
super(msg, err_code, err_msg, http_code)
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DistelliServiceInterface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.1'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Distelli Service Interface for Ruby Servers and Clients
|
15
15
|
email: rsingh@distelli.com
|
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
38
|
version: '0'
|
39
39
|
requirements: []
|
40
40
|
rubyforge_project:
|
41
|
-
rubygems_version: 1.8.
|
41
|
+
rubygems_version: 1.8.24
|
42
42
|
signing_key:
|
43
43
|
specification_version: 3
|
44
44
|
summary: Distelli Service Interface classes
|