ultraspeed-epp 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/epp/exceptions.rb +13 -0
- data/lib/epp.rb +1 -1
- metadata +2 -1
@@ -0,0 +1,13 @@
|
|
1
|
+
class EppErrorResponse < StandardError #:nodoc:
|
2
|
+
attr_accessor :response
|
3
|
+
|
4
|
+
# Generic EPP exception. Accepts a response code and a message
|
5
|
+
def initialize(attributes = {})
|
6
|
+
@response_code = attributes[:code]
|
7
|
+
@message = attributes[:message]
|
8
|
+
end
|
9
|
+
|
10
|
+
def to_s
|
11
|
+
"#{@message} (code #{@response_code})"
|
12
|
+
end
|
13
|
+
end
|
data/lib/epp.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultraspeed-epp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Delsman
|
@@ -41,6 +41,7 @@ extensions: []
|
|
41
41
|
extra_rdoc_files: []
|
42
42
|
|
43
43
|
files:
|
44
|
+
- lib/epp/exceptions.rb
|
44
45
|
- lib/epp/server.rb
|
45
46
|
- lib/epp.rb
|
46
47
|
- lib/require_parameters.rb
|