class Xolphin::Api::Responses::Notes
Public Class Methods
new(data)
click to toggle source
Calls superclass method
Xolphin::Api::Responses::Base::new
# File lib/xolphin/api/responses/notes.rb, line 5 def initialize(data) super(data) end
Public Instance Methods
notes()
click to toggle source
# File lib/xolphin/api/responses/notes.rb, line 9 def notes @notes ||= begin notes = [] if _embedded && _embedded["notes"] _embedded["notes"].each do |note| notes << Note.new(note) end end notes end end