lib/xolphin/api/responses/certificates.rb in xolphin-api-1.5.0 vs lib/xolphin/api/responses/certificates.rb in xolphin-api-1.8.0
- old
+ new
@@ -1,25 +1,25 @@
-module Xolphin
- module Api
- module Responses
- class Certificates < Base
- def initialize(data)
- super(data)
- end
-
- def certificates
- @certificates ||= begin
- certificates = []
-
- if _embedded && _embedded["certificates"]
- _embedded["certificates"].each do |certificate|
- certificates << Certificate.new(certificate)
- end
- end
-
- certificates
- end
- end
- end
- end
- end
-end
+module Xolphin
+ module Api
+ module Responses
+ class Certificates < Base
+ def initialize(data)
+ super(data)
+ end
+
+ def certificates
+ @certificates ||= begin
+ certificates = []
+
+ if _embedded && _embedded["certificates"]
+ _embedded["certificates"].each do |certificate|
+ certificates << Certificate.new(certificate)
+ end
+ end
+
+ certificates
+ end
+ end
+ end
+ end
+ end
+end