class Plivo::Resources::ComplianceDocumentType
Public Class Methods
new(client, options = nil)
click to toggle source
Calls superclass method
Plivo::Base::Resource::new
# File lib/plivo/resources/regulatory_compliance.rb, line 150 def initialize(client, options = nil) @_name = 'ComplianceDocumentType' @_identifier_string = 'compliance_document_type' super end
Public Instance Methods
to_s()
click to toggle source
# 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