class Isoics::Note
Attributes
ics_code[R]
@return [String]
text[R]
@return [String]
Public Class Methods
new(note)
click to toggle source
@param note [Hash]
# File lib/isoics/ics.rb, line 7 def initialize(note) @text, @ics_code = note.values_at(:text, :"ics-code") end
Public Instance Methods
ics()
click to toggle source
Fetch referenced ICS
. @return [Isoics::ICS]
# File lib/isoics/ics.rb, line 13 def ics Isoics.fetch ics_code if ics_code end