Sha256: 1e24edfb4d016fb7e70cb0221eff319751acb60f822c9b2ac2676677e7125589
Contents?: true
Size: 635 Bytes
Versions: 3
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true module Telnyx class Conference < APIResource extend APIOperations::List extend APIOperations::Create extend APIOperations::NestedResource ACTIONS = %w[join mute unmute hold unhold].freeze ACTIONS.each do |action| nested_resource_class_methods action, path: ["actions", action], operations: [:create], instance_methods: { create: action } end OBJECT_NAME = "conference".freeze end Conferences = Conference # Name change without breaking existing code end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
telnyx-2.3.0 | lib/telnyx/conference.rb |
telnyx-2.2.0 | lib/telnyx/conference.rb |
telnyx-0.1.0 | lib/telnyx/conference.rb |