Sha256: f153d95f01fb0b0589191fc0db17d1a67f15e26f6241ffe6f6d5b93dee25eb66

Contents?: true

Size: 637 Bytes

Versions: 5

Compression:

Stored size: 637 Bytes

Contents

# frozen_string_literal: true

module Telnyx
  class Room < APIResource
    include APIOperations::Delete
    include APIOperations::Save
    extend APIOperations::List
    extend APIOperations::Create
    extend APIOperations::NestedResource
    ACTIONS = %w[generate_join_client_token refresh_client_token].freeze
    ACTIONS.each do |action|
      nested_resource_class_methods action,
                                    path: %W[actions #{action}],
                                    operations: [:create],
                                    instance_methods: { create: action }
    end

    OBJECT_NAME = "room".freeze
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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