class Vonage::Client
Attributes
config[R]
Public Class Methods
new(options = nil)
click to toggle source
# File lib/vonage/client.rb, line 11 def initialize(options = nil) @config = T.let(Vonage.config.merge(options), Vonage::Config) end
Public Instance Methods
account()
click to toggle source
# File lib/vonage/client.rb, line 25 def account @account ||= T.let(Account.new(config), T.nilable(Vonage::Account)) end
alerts()
click to toggle source
# File lib/vonage/client.rb, line 32 def alerts @alerts ||= T.let(Alerts.new(config), T.nilable(Vonage::Alerts)) end
applications()
click to toggle source
# File lib/vonage/client.rb, line 39 def applications @applications ||= T.let(Applications.new(config), T.nilable(Vonage::Applications)) end
conversations()
click to toggle source
# File lib/vonage/client.rb, line 46 def conversations @conversations ||= T.let(Conversations.new(config), T.nilable(Vonage::Conversations)) end
conversions()
click to toggle source
# File lib/vonage/client.rb, line 53 def conversions @conversions ||= T.let(Conversions.new(config), T.nilable(Vonage::Conversions)) end
files()
click to toggle source
# File lib/vonage/client.rb, line 60 def files @files ||= T.let(Files.new(config), T.nilable(Vonage::Files)) end
messages()
click to toggle source
# File lib/vonage/client.rb, line 67 def messages @messages ||= T.let(Messages.new(config), T.nilable(Vonage::Messages)) end
number_insight()
click to toggle source
# File lib/vonage/client.rb, line 74 def number_insight @number_insight ||= T.let(NumberInsight.new(config), T.nilable(Vonage::NumberInsight)) end
numbers()
click to toggle source
# File lib/vonage/client.rb, line 81 def numbers @numbers ||= T.let(Numbers.new(config), T.nilable(Vonage::Numbers)) end
pricing()
click to toggle source
# File lib/vonage/client.rb, line 88 def pricing @pricing ||= T.let(PricingTypes.new(config), T.nilable(Vonage::PricingTypes)) end
redact()
click to toggle source
# File lib/vonage/client.rb, line 95 def redact @redact ||= T.let(Redact.new(config), T.nilable(Vonage::Redact)) end
secrets()
click to toggle source
# File lib/vonage/client.rb, line 102 def secrets @secrets ||= T.let(Secrets.new(config), T.nilable(Vonage::Secrets)) end
signature()
click to toggle source
# File lib/vonage/client.rb, line 18 def signature @signature ||= T.let(Signature.new(config), T.nilable(Vonage::Signature)) end
sms()
click to toggle source
# File lib/vonage/client.rb, line 109 def sms @sms ||= T.let(SMS.new(config), T.nilable(Vonage::SMS)) end
tfa()
click to toggle source
# File lib/vonage/client.rb, line 116 def tfa @tfa ||= T.let(TFA.new(config), T.nilable(Vonage::TFA)) end
verify()
click to toggle source
# File lib/vonage/client.rb, line 123 def verify @verify ||= T.let(Verify.new(config), T.nilable(Vonage::Verify)) end
voice()
click to toggle source
# File lib/vonage/client.rb, line 130 def voice @voice ||= T.let(Voice.new(config), T.nilable(Vonage::Voice)) end