lib/xolphin/api/responses/notes.rb in xolphin-api-1.5.0 vs lib/xolphin/api/responses/notes.rb in xolphin-api-1.8.0
- old
+ new
@@ -1,24 +1,23 @@
-module Xolphin
- module Api
- module Responses
- class Notes < Base
- def initialize(data)
- super(data)
- end
-
- def notes
- @notes ||= begin
- notes = []
- if _embedded && _embedded["notes"]
- _embedded["notes"].each do |note|
- notes << Note.new(note)
- end
- end
- notes
- end
- end
-
- end
- end
- end
-end
+module Xolphin
+ module Api
+ module Responses
+ class Notes < Base
+ def initialize(data)
+ super(data)
+ end
+
+ def notes
+ @notes ||= begin
+ notes = []
+ if _embedded && _embedded["notes"]
+ _embedded["notes"].each do |note|
+ notes << Note.new(note)
+ end
+ end
+ notes
+ end
+ end
+ end
+ end
+ end
+end