Class: WavixApi::V2::Messages::OptOuts::Create
- Inherits:
-
Object
- Object
- WavixApi::V2::Messages::OptOuts::Create
- Includes:
- BaseMethods
- Defined in:
- lib/wavix_api/v2/messages/opt_outs/create.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
Class Method Summary collapse
Methods included from BaseMethods
#call, #delete, #download, #file_extention, #format_file, #get, #initialize, #patch, #post, #put, #raise_error, #stringify_dates!, #validate!, #validate_dates!
Class Method Details
.call(params = {}) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/wavix_api/v2/messages/opt_outs/create.rb', line 22 def call(params = {}) instance = new(params) instance.validate! instance.post('v2/messages/opt-outs') end |