Module: Ari

Defined in:
lib/ari/models/dial.rb,
lib/ari.rb,
lib/ari/model.rb,
lib/ari/client.rb,
lib/ari/resource.rb,
lib/ari/server_error.rb,
lib/ari/list_resource.rb,
lib/ari/models/dialed.rb,
lib/ari/models/set_id.rb,
lib/ari/request_error.rb,
lib/ari/generators/api.rb,
lib/ari/models/message.rb,
lib/ari/models/variable.rb,
lib/ari/resources/event.rb,
lib/ari/resources/sound.rb,
lib/ari/generators/model.rb,
lib/ari/models/caller_id.rb,
lib/ari/resources/bridge.rb,
lib/ari/models/build_info.rb,
lib/ari/models/stasis_end.rb,
lib/ari/resources/channel.rb,
lib/ari/resources/mailbox.rb,
lib/ari/models/config_info.rb,
lib/ari/models/status_info.rb,
lib/ari/models/system_info.rb,
lib/ari/resources/asterisk.rb,
lib/ari/resources/endpoint.rb,
lib/ari/resources/playback.rb,
lib/ari/generators/property.rb,
lib/ari/models/dialplan_cep.rb,
lib/ari/models/stasis_start.rb,
lib/ari/models/text_message.rb,
lib/ari/resources/recording.rb,
lib/ari/generators/attribute.rb,
lib/ari/generators/operation.rb,
lib/ari/generators/parameter.rb,
lib/ari/models/asterisk_info.rb,
lib/ari/models/bridge_merged.rb,
lib/ari/models/bridge_created.rb,
lib/ari/models/channel_varset.rb,
lib/ari/models/live_recording.rb,
lib/ari/models/missing_params.rb,
lib/ari/resources/application.rb,
lib/ari/models/channel_created.rb,
lib/ari/resources/device_state.rb,
lib/ari/models/bridge_destroyed.rb,
lib/ari/models/channel_dialplan.rb,
lib/ari/models/format_lang_pair.rb,
lib/ari/models/playback_started.rb,
lib/ari/models/recording_failed.rb,
lib/ari/models/stored_recording.rb,
lib/ari/models/channel_caller_id.rb,
lib/ari/models/channel_destroyed.rb,
lib/ari/models/channel_userevent.rb,
lib/ari/models/playback_finished.rb,
lib/ari/models/recording_started.rb,
lib/ari/models/recording_finished.rb,
lib/ari/models/channel_left_bridge.rb,
lib/ari/models/application_replaced.rb,
lib/ari/models/channel_state_change.rb,
lib/ari/models/device_state_changed.rb,
lib/ari/models/bridge_blind_transfer.rb,
lib/ari/models/channel_dtmf_received.rb,
lib/ari/models/endpoint_state_change.rb,
lib/ari/models/text_message_received.rb,
lib/ari/models/text_message_variable.rb,
lib/ari/generators/resource_generator.rb,
lib/ari/models/channel_entered_bridge.rb,
lib/ari/models/channel_hangup_request.rb,
lib/ari/models/channel_talking_started.rb,
lib/ari/models/bridge_attended_transfer.rb,
lib/ari/models/channel_talking_finished.rb

Overview


WARNING !

This is a generated file. DO NOT EDIT THIS FILE! Your changes will
be lost the next time this file is regenerated.

This file was generated using asterisk-ari-client ruby gem.

Defined Under Namespace

Modules: Generators Classes: Application, ApplicationReplaced, Asterisk, AsteriskInfo, Bridge, BridgeAttendedTransfer, BridgeBlindTransfer, BridgeCreated, BridgeDestroyed, BridgeMerged, BuildInfo, CallerID, Channel, ChannelCallerId, ChannelCreated, ChannelDestroyed, ChannelDialplan, ChannelDtmfReceived, ChannelEnteredBridge, ChannelHangupRequest, ChannelLeftBridge, ChannelStateChange, ChannelTalkingFinished, ChannelTalkingStarted, ChannelUserevent, ChannelVarset, Client, ConfigInfo, DeviceState, DeviceStateChanged, Dial, Dialed, DialplanCEP, Endpoint, EndpointStateChange, Event, FormatLangPair, ListResource, LiveRecording, Mailbox, Message, MissingParams, Model, Playback, PlaybackFinished, PlaybackStarted, Recording, RecordingFailed, RecordingFinished, RecordingStarted, RequestError, Resource, ServerError, SetId, Sound, StasisEnd, StasisStart, StatusInfo, StoredRecording, SystemInfo, TextMessage, TextMessageReceived, TextMessageVariable, Variable

Class Method Summary collapse

Class Method Details

.clientObject


3
4
5
6
# File 'lib/ari.rb', line 3

def self.client
  return @@client if defined?(@@client)
  raise "ARI client not set. You can set it with ARI.client = client."
end

.client=(val) ⇒ Object


8
9
10
# File 'lib/ari.rb', line 8

def self.client=(val)
  @@client = val
end