Module: Nexmo

Defined in:
lib/nexmo.rb,
lib/nexmo/jwt.rb,
lib/nexmo/sms.rb,
lib/nexmo/tfa.rb,
lib/nexmo/gsm7.rb,
lib/nexmo/http.rb,
lib/nexmo/json.rb,
lib/nexmo/keys.rb,
lib/nexmo/basic.rb,
lib/nexmo/calls.rb,
lib/nexmo/error.rb,
lib/nexmo/files.rb,
lib/nexmo/alerts.rb,
lib/nexmo/client.rb,
lib/nexmo/config.rb,
lib/nexmo/entity.rb,
lib/nexmo/errors.rb,
lib/nexmo/logger.rb,
lib/nexmo/params.rb,
lib/nexmo/redact.rb,
lib/nexmo/verify.rb,
lib/nexmo/account.rb,
lib/nexmo/numbers.rb,
lib/nexmo/pricing.rb,
lib/nexmo/secrets.rb,
lib/nexmo/version.rb,
lib/nexmo/messages.rb,
lib/nexmo/response.rb,
lib/nexmo/form_data.rb,
lib/nexmo/namespace.rb,
lib/nexmo/signature.rb,
lib/nexmo/calls/dtmf.rb,
lib/nexmo/calls/talk.rb,
lib/nexmo/user_agent.rb,
lib/nexmo/conversions.rb,
lib/nexmo/applications.rb,
lib/nexmo/bearer_token.rb,
lib/nexmo/calls/stream.rb,
lib/nexmo/client_error.rb,
lib/nexmo/server_error.rb,
lib/nexmo/conversations.rb,
lib/nexmo/pricing_types.rb,
lib/nexmo/number_insight.rb,
lib/nexmo/key_secret_query.rb,
lib/nexmo/key_secret_params.rb,
lib/nexmo/conversations/legs.rb,
lib/nexmo/conversations/users.rb,
lib/nexmo/authentication_error.rb,
lib/nexmo/conversations/events.rb,
lib/nexmo/conversations/members.rb,
lib/nexmo/abstract_authentication.rb

Defined Under Namespace

Modules: JWT Classes: Account, Alerts, Applications, AuthenticationError, Calls, Client, ClientError, Config, Conversations, Conversions, Entity, Error, Files, Messages, NumberInsight, Numbers, Pricing, PricingTypes, Redact, Response, SMS, Secrets, ServerError, Signature, TFA, Verify

Constant Summary collapse

VERSION =
'6.0.1'

Class Method Summary collapse

Class Method Details

.configObject


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

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

.configure(&block) ⇒ Object


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

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