Class: WavixApi::V3::Messages::SenderIds::Create
- Inherits:
-
Object
- Object
- WavixApi::V3::Messages::SenderIds::Create
- Includes:
- BaseMethods
- Defined in:
- lib/wavix_api/v3/messages/sender_ids/create.rb
Constant Summary collapse
- MONTHLY_VOLUMES =
['1-1000', '1001-20000', '20001-50000', '50001-100000', 'More than 100000'].freeze
- USECASES =
%w[transactional promo authentication].freeze
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
39 40 41 42 43 44 45 |
# File 'lib/wavix_api/v3/messages/sender_ids/create.rb', line 39 def call(params = {}) instance = new(params) instance.validate! instance.post('v3/messages/sender-ids') end |