Sha256: a1350b7faf67eb7c472ca0d3c38dd0d4af5e628814e7a9d929dc84c2cf346318

Contents?: true

Size: 651 Bytes

Versions: 5

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

module Telnyx
  class BulkCreation < APIResource
    extend Telnyx::APIOperations::List
    extend Telnyx::APIOperations::Create
    include Telnyx::APIOperations::Delete
    include Telnyx::APIOperations::Save
    extend APIOperations::NestedResource

    ACTIONS = %w[detailedStatus].freeze
    ACTIONS.each do |action|
      nested_resource_class_methods action,
                                    path: %W[#{action}],
                                    operations: [:create],
                                    instance_methods: { create: action }
    end

    OBJECT_NAME = "10dlc/bulkCreation".freeze
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telnyx-3.0.5 lib/telnyx/bulk_creation.rb
telnyx-3.0.4 lib/telnyx/bulk_creation.rb
telnyx-3.0.3 lib/telnyx/bulk_creation.rb
telnyx-3.0.2 lib/telnyx/bulk_creation.rb
telnyx-3.0.0 lib/telnyx/bulk_creation.rb