lib/xolphin/api/responses/request_validation.rb in xolphin-api-1.5.0 vs lib/xolphin/api/responses/request_validation.rb in xolphin-api-1.8.0
- old
+ new
@@ -1,37 +1,37 @@
-module Xolphin
- module Api
- module Responses
- class RequestValidation < Base
- def initialize(data)
- super(data)
- end
-
- def status
- @data["status"]
- end
-
- def status_detail
- @data["statusDetail"]
- end
-
- def status_message
- @data["statusMessage"]
- end
-
- def domains
- @domains ||= begin
- domains = []
-
- if @data["domains"]
- @data["domains"].each do |domain|
- domains << RequestValidationDomain.new(domain)
- end
- end
-
- domains
- end
- end
- end
- end
- end
-end
+module Xolphin
+ module Api
+ module Responses
+ class RequestValidation < Base
+ def initialize(data)
+ super(data)
+ end
+
+ def status
+ @data["status"]
+ end
+
+ def status_detail
+ @data["statusDetail"]
+ end
+
+ def status_message
+ @data["statusMessage"]
+ end
+
+ def domains
+ @domains ||= begin
+ domains = []
+
+ if @data["domains"]
+ @data["domains"].each do |domain|
+ domains << RequestValidationDomain.new(domain)
+ end
+ end
+
+ domains
+ end
+ end
+ end
+ end
+ end
+end