Class: WavixApi::V1::Call::Recordings::MonthStatistics::Details

Inherits:
Object
  • Object
show all
Includes:
BaseMethods
Defined in:
lib/wavix_api/v1/call/recordings/month_statistics/details.rb

Constant Summary

Constants included from BaseMethods

BaseMethods::AVAILABLE_TRANSCRIPTION_LANGUAGES, BaseMethods::BASE_DATE_FORMAT, BaseMethods::DEFAULT_HEADERS, BaseMethods::IP_REGEXP, BaseMethods::LIST_OF_DIGITS_REGEXP, BaseMethods::ONLY_DIGITS_REGEXP, BaseMethods::ONLY_ID_SCHEMA, BaseMethods::ONLY_UUID_SCHEMA, BaseMethods::PAGINATION_SCHEMA

Instance Attribute Summary

Attributes included from BaseMethods

#client, #id, #params

Class Method Summary collapse

Instance Method Summary collapse

Methods included from BaseMethods

#delete, #download, #file_extention, #format_file, #get, #initialize, #patch, #post, #put, #raise_error, #stringify_dates!, #validate!, #validate_dates!

Class Method Details

.call(id = nil) ⇒ Object



16
17
18
19
20
21
22
23
24
# File 'lib/wavix_api/v1/call/recordings/month_statistics/details.rb', line 16

def call(id = nil)
  instance = new({ id: id })

  instance.validate!

  instance.get(
    ['v1/recording/month-statistics', instance.id, 'details'].join('/')
  )
end

Instance Method Details

#callObject



27
28
29
# File 'lib/wavix_api/v1/call/recordings/month_statistics/details.rb', line 27

def call
  self.class.call(id)
end