Class: Fathom::Meeting
- Defined in:
- lib/fathom/resources/meeting.rb
Instance Attribute Summary
Attributes inherited from Resource
Class Method Summary collapse
Instance Method Summary collapse
-
#action_items ⇒ Object
Get action items for the meeting.
-
#fetch_summary(destination_url: nil) ⇒ Object
Fetch the recording summary from the API.
-
#fetch_transcript(destination_url: nil) ⇒ Object
Fetch the recording transcript from the API.
-
#participants ⇒ Object
Get meeting participants (calendar invitees).
-
#recording? ⇒ Boolean
Check if the meeting has a recording.
-
#recording_id ⇒ Object
Get the recording ID for this meeting.
-
#summary ⇒ Object
Get the summary for this meeting (use include_summary=true when listing) Returns the default_summary object or nil.
-
#transcript ⇒ Object
Get the transcript for this meeting (use include_transcript=true when listing) Returns array of transcript segments or nil.
Methods inherited from Resource
#[], #[]=, all, client, create, #delete, #id, #initialize, #inspect, #method_missing, #reload, resource_name, #respond_to_missing?, retrieve, search, #to_h, #to_json, #update
Constructor Details
This class inherits a constructor from Fathom::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Fathom::Resource
Class Method Details
.resource_path ⇒ Object
5 |
# File 'lib/fathom/resources/meeting.rb', line 5 def self.resource_path = "meetings" |
Instance Method Details
#action_items ⇒ Object
Get action items for the meeting
39 |
# File 'lib/fathom/resources/meeting.rb', line 39 def action_items = self["action_items"] || [] |
#fetch_summary(destination_url: nil) ⇒ Object
Fetch the recording summary from the API
19 20 21 22 23 |
# File 'lib/fathom/resources/meeting.rb', line 19 def fetch_summary(destination_url: nil) return nil unless recording_id Recording.get_summary(recording_id, destination_url:) end |
#fetch_transcript(destination_url: nil) ⇒ Object
Fetch the recording transcript from the API
26 27 28 29 30 |
# File 'lib/fathom/resources/meeting.rb', line 26 def fetch_transcript(destination_url: nil) return nil unless recording_id Recording.get_transcript(recording_id, destination_url:) end |
#participants ⇒ Object
Get meeting participants (calendar invitees)
36 |
# File 'lib/fathom/resources/meeting.rb', line 36 def participants = self["calendar_invitees"] || [] |
#recording? ⇒ Boolean
Check if the meeting has a recording
33 |
# File 'lib/fathom/resources/meeting.rb', line 33 def recording? = !recording_id.nil? |
#recording_id ⇒ Object
Get the recording ID for this meeting
8 |
# File 'lib/fathom/resources/meeting.rb', line 8 def recording_id = self["recording_id"] |
#summary ⇒ Object
Get the summary for this meeting (use include_summary=true when listing) Returns the default_summary object or nil
12 |
# File 'lib/fathom/resources/meeting.rb', line 12 def summary = self["default_summary"] |
#transcript ⇒ Object
Get the transcript for this meeting (use include_transcript=true when listing) Returns array of transcript segments or nil
16 |
# File 'lib/fathom/resources/meeting.rb', line 16 def transcript = self["transcript"] |