Class: Nexmo::Client
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #account ⇒ Object
- #alerts ⇒ Object
- #applications ⇒ Object
- #conversations ⇒ Object
- #conversions ⇒ Object
- #files ⇒ Object
-
#initialize(options = nil) ⇒ Client
constructor
A new instance of Client.
- #messages ⇒ Object
- #number_insight ⇒ Object
- #numbers ⇒ Object
- #pricing ⇒ Object
- #redact ⇒ Object
- #secrets ⇒ Object
- #signature ⇒ Object
- #sms ⇒ Object
- #tfa ⇒ Object
- #verify ⇒ Object
- #voice ⇒ Object
Constructor Details
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
8 9 10 |
# File 'lib/nexmo/client.rb', line 8 def config @config end |
Instance Method Details
#account ⇒ Object
25 26 27 |
# File 'lib/nexmo/client.rb', line 25 def account @account ||= T.let(Account.new(config), T.nilable(Nexmo::Account)) end |
#alerts ⇒ Object
32 33 34 |
# File 'lib/nexmo/client.rb', line 32 def alerts @alerts ||= T.let(Alerts.new(config), T.nilable(Nexmo::Alerts)) end |
#applications ⇒ Object
39 40 41 |
# File 'lib/nexmo/client.rb', line 39 def applications @applications ||= T.let(Applications.new(config), T.nilable(Nexmo::Applications)) end |
#conversations ⇒ Object
46 47 48 |
# File 'lib/nexmo/client.rb', line 46 def conversations @conversations ||= T.let(Conversations.new(config), T.nilable(Nexmo::Conversations)) end |
#conversions ⇒ Object
53 54 55 |
# File 'lib/nexmo/client.rb', line 53 def conversions @conversions ||= T.let(Conversions.new(config), T.nilable(Nexmo::Conversions)) end |
#files ⇒ Object
60 61 62 |
# File 'lib/nexmo/client.rb', line 60 def files @files ||= T.let(Files.new(config), T.nilable(Nexmo::Files)) end |
#messages ⇒ Object
67 68 69 |
# File 'lib/nexmo/client.rb', line 67 def @messages ||= T.let(Messages.new(config), T.nilable(Nexmo::Messages)) end |
#number_insight ⇒ Object
74 75 76 |
# File 'lib/nexmo/client.rb', line 74 def number_insight @number_insight ||= T.let(NumberInsight.new(config), T.nilable(Nexmo::NumberInsight)) end |
#numbers ⇒ Object
81 82 83 |
# File 'lib/nexmo/client.rb', line 81 def numbers @numbers ||= T.let(Numbers.new(config), T.nilable(Nexmo::Numbers)) end |
#pricing ⇒ Object
88 89 90 |
# File 'lib/nexmo/client.rb', line 88 def pricing @pricing ||= T.let(PricingTypes.new(config), T.nilable(Nexmo::PricingTypes)) end |
#redact ⇒ Object
95 96 97 |
# File 'lib/nexmo/client.rb', line 95 def redact @redact ||= T.let(Redact.new(config), T.nilable(Nexmo::Redact)) end |
#secrets ⇒ Object
102 103 104 |
# File 'lib/nexmo/client.rb', line 102 def secrets @secrets ||= T.let(Secrets.new(config), T.nilable(Nexmo::Secrets)) end |
#signature ⇒ Object
18 19 20 |
# File 'lib/nexmo/client.rb', line 18 def signature @signature ||= T.let(Signature.new(config), T.nilable(Nexmo::Signature)) end |
#sms ⇒ Object
109 110 111 |
# File 'lib/nexmo/client.rb', line 109 def sms @sms ||= T.let(SMS.new(config), T.nilable(Nexmo::SMS)) end |
#tfa ⇒ Object
116 117 118 |
# File 'lib/nexmo/client.rb', line 116 def tfa @tfa ||= T.let(TFA.new(config), T.nilable(Nexmo::TFA)) end |