Module: Vonage

Defined in:
lib/vonage/sms.rb,
lib/vonage.rb,
lib/vonage/jwt.rb,
lib/vonage/tfa.rb,
lib/vonage/gsm7.rb,
lib/vonage/http.rb,
lib/vonage/json.rb,
lib/vonage/keys.rb,
lib/vonage/basic.rb,
lib/vonage/error.rb,
lib/vonage/files.rb,
lib/vonage/users.rb,
lib/vonage/voice.rb,
lib/vonage/alerts.rb,
lib/vonage/client.rb,
lib/vonage/config.rb,
lib/vonage/entity.rb,
lib/vonage/errors.rb,
lib/vonage/logger.rb,
lib/vonage/params.rb,
lib/vonage/redact.rb,
lib/vonage/verify.rb,
lib/vonage/account.rb,
lib/vonage/numbers.rb,
lib/vonage/pricing.rb,
lib/vonage/secrets.rb,
lib/vonage/verify2.rb,
lib/vonage/version.rb,
lib/vonage/meetings.rb,
lib/vonage/messages.rb,
lib/vonage/response.rb,
lib/vonage/api_error.rb,
lib/vonage/form_data.rb,
lib/vonage/messaging.rb,
lib/vonage/namespace.rb,
lib/vonage/signature.rb,
lib/vonage/user_agent.rb,
lib/vonage/voice/dtmf.rb,
lib/vonage/voice/ncco.rb,
lib/vonage/voice/talk.rb,
lib/vonage/conversions.rb,
lib/vonage/subaccounts.rb,
lib/vonage/applications.rb,
lib/vonage/bearer_token.rb,
lib/vonage/client_error.rb,
lib/vonage/server_error.rb,
lib/vonage/voice/stream.rb,
lib/vonage/conversations.rb,
lib/vonage/pricing_types.rb,
lib/vonage/service_error.rb,
lib/vonage/meetings/rooms.rb,
lib/vonage/number_insight.rb,
lib/vonage/meetings/themes.rb,
lib/vonage/verify2/workflow.rb,
lib/vonage/key_secret_params.rb,
lib/vonage/meetings/sessions.rb,
lib/vonage/messaging/message.rb,
lib/vonage/proactive_connect.rb,
lib/vonage/conversations/legs.rb,
lib/vonage/voice/actions/talk.rb,
lib/vonage/conversations/users.rb,
lib/vonage/meetings/recordings.rb,
lib/vonage/voice/actions/input.rb,
lib/vonage/authentication_error.rb,
lib/vonage/conversations/events.rb,
lib/vonage/verify2/channels/sms.rb,
lib/vonage/voice/actions/notify.rb,
lib/vonage/voice/actions/record.rb,
lib/vonage/voice/actions/stream.rb,
lib/vonage/conversations/members.rb,
lib/vonage/meetings/applications.rb,
lib/vonage/voice/actions/connect.rb,
lib/vonage/messaging/channels/mms.rb,
lib/vonage/messaging/channels/sms.rb,
lib/vonage/proactive_connect/item.rb,
lib/vonage/proactive_connect/list.rb,
lib/vonage/verify2/channels/email.rb,
lib/vonage/verify2/channels/voice.rb,
lib/vonage/abstract_authentication.rb,
lib/vonage/proactive_connect/items.rb,
lib/vonage/proactive_connect/lists.rb,
lib/vonage/meetings/dial_in_numbers.rb,
lib/vonage/messaging/channels/viber.rb,
lib/vonage/proactive_connect/events.rb,
lib/vonage/verify2/workflow_builder.rb,
lib/vonage/verify2/channels/whats_app.rb,
lib/vonage/voice/actions/conversation.rb,
lib/vonage/messaging/channels/messenger.rb,
lib/vonage/messaging/channels/whats_app.rb,
lib/vonage/verify2/channels/silent_auth.rb,
lib/vonage/verify2/start_verification_options.rb,
lib/vonage/verify2/channels/whats_app_interactive.rb

Overview

typed: true frozen_string_literal: true

Defined Under Namespace

Modules: GSM7, HTTP Classes: APIError, AbstractAuthentication, Account, Alerts, Applications, AuthenticationError, Client, ClientError, Config, Conversations, Conversions, Entity, Error, Files, JWT, Logger, Meetings, Messages, Messaging, NumberInsight, Numbers, Pricing, PricingTypes, ProactiveConnect, Redact, Response, SMS, Secrets, ServerError, ServiceError, Signature, Subaccounts, TFA, Users, Verify, Verify2, Voice

Constant Summary collapse

VERSION =
"7.16.1"

Class Method Summary collapse

Class Method Details

.configObject



24
25
26
# File 'lib/vonage.rb', line 24

def self.config
  @config ||= Config.new
end

.configure(&block) ⇒ Object



28
29
30
# File 'lib/vonage.rb', line 28

def self.configure(&block)
  block.call(config)
end