Class: Clickmeetings::Open::Recording

Inherits:
Model
  • Object
show all
Includes:
WithConference
Defined in:
lib/clickmeetings/models/open/recording.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#id

Class Method Summary collapse

Methods included from WithConference

#initialize, #remote_url

Methods inherited from Model

api_key, client_options, #default_headers, ping, with_account

Methods inherited from Model

#action_path, all, #client, client_options, create, #default_headers, #default_params, #destroy, find, #handle_response, #remote_path, #remote_url, set_resource_name, #update

Instance Attribute Details

#recording_durationObject

Returns the value of attribute recording_duration.



6
7
8
# File 'lib/clickmeetings/models/open/recording.rb', line 6

def recording_duration
  @recording_duration
end

#recording_file_sizeObject

Returns the value of attribute recording_file_size.



6
7
8
# File 'lib/clickmeetings/models/open/recording.rb', line 6

def recording_file_size
  @recording_file_size
end

#recording_start_dateObject

Returns the value of attribute recording_start_date.



6
7
8
# File 'lib/clickmeetings/models/open/recording.rb', line 6

def recording_start_date
  @recording_start_date
end

#recording_startedObject

Returns the value of attribute recording_started.



6
7
8
# File 'lib/clickmeetings/models/open/recording.rb', line 6

def recording_started
  @recording_started
end

#recording_urlObject

Returns the value of attribute recording_url.



6
7
8
# File 'lib/clickmeetings/models/open/recording.rb', line 6

def recording_url
  @recording_url
end

Class Method Details

.destroy_allObject



10
11
12
13
14
15
16
17
18
# File 'lib/clickmeetings/models/open/recording.rb', line 10

def destroy_all
  res = all

  Clickmeetings.with_client(client_options) do
    Clickmeetings.client.delete remote_url(__method__), default_params, default_headers
  end

  res
end