Class: Plivo::Resources::ComplianceDocumentType
- Inherits:
-
Base::Resource
- Object
- Base::Resource
- Plivo::Resources::ComplianceDocumentType
- Defined in:
- lib/plivo/resources/regulatory_compliance.rb
Constant Summary
Constants included from Utils
Instance Attribute Summary
Attributes inherited from Base::Resource
Instance Method Summary collapse
-
#initialize(client, options = nil) ⇒ ComplianceDocumentType
constructor
A new instance of ComplianceDocumentType.
- #to_s ⇒ Object
Methods included from Utils
GetSortedQueryParamString?, compute_signatureV3?, expected_type?, expected_value?, generate_url?, getMapFromQueryString?, is_one_among_string_url?, multi_valid_param?, raise_invalid_request, valid_account?, valid_date_format?, valid_mainaccount?, valid_multiple_destination_integers?, valid_multiple_destination_nos?, valid_param?, valid_range?, valid_signature?, valid_signatureV3?, valid_subaccount?, valid_url?
Constructor Details
#initialize(client, options = nil) ⇒ ComplianceDocumentType
Returns a new instance of ComplianceDocumentType.
150 151 152 153 154 |
# File 'lib/plivo/resources/regulatory_compliance.rb', line 150 def initialize(client, = nil) @_name = 'ComplianceDocumentType' @_identifier_string = 'compliance_document_type' super end |
Instance Method Details
#to_s ⇒ Object
156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/plivo/resources/regulatory_compliance.rb', line 156 def to_s { api_id: @api_id, document_type_id: @document_type_id, document_name: @document_name, description: @description, information: @information, proof_required: @proof_required, created_at: @created_at }.delete_if { |key, value| key==:api_id && value.nil? }.to_s end |