Sha256: cb1e1194441cd718cdaa64ac6190f2c720696e56bc4d53f3f86c630a06a6403b
Contents?: true
Size: 646 Bytes
Versions: 5
Compression:
Stored size: 646 Bytes
Contents
# frozen_string_literal: true module Telnyx class Documents < APIResource extend Telnyx::APIOperations::List extend Telnyx::APIOperations::Create include Telnyx::APIOperations::Delete include Telnyx::APIOperations::Save extend APIOperations::NestedResource ACTIONS = %w[download document_links].freeze ACTIONS.each do |action| nested_resource_class_methods action, path: %W[#{action}], operations: [:create], instance_methods: { create: action } end OBJECT_NAME = "document".freeze end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
telnyx-3.0.5 | lib/telnyx/document.rb |
telnyx-3.0.4 | lib/telnyx/document.rb |
telnyx-3.0.3 | lib/telnyx/document.rb |
telnyx-3.0.2 | lib/telnyx/document.rb |
telnyx-3.0.0 | lib/telnyx/document.rb |