Class: Vonage::Client
- Inherits:
-
Object
- Object
- Vonage::Client
- Extended by:
- T::Sig
- Defined in:
- lib/vonage/client.rb
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.
- #meetings ⇒ Object
- #messages ⇒ Object
- #messaging ⇒ Object
- #number_insight ⇒ Object
- #numbers ⇒ Object
- #pricing ⇒ Object
- #proactive_connect ⇒ Object
- #redact ⇒ Object
- #secrets ⇒ Object
- #signature ⇒ Object
- #sms ⇒ Object
- #subaccounts ⇒ Object
- #tfa ⇒ Object
- #users ⇒ Object
- #verify ⇒ Object
- #verify2 ⇒ Object
- #voice ⇒ Object
Constructor Details
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
8 9 10 |
# File 'lib/vonage/client.rb', line 8 def config @config end |
Instance Method Details
#account ⇒ Object
25 26 27 |
# File 'lib/vonage/client.rb', line 25 def account @account ||= T.let(Account.new(config), T.nilable(Vonage::Account)) end |
#alerts ⇒ Object
32 33 34 |
# File 'lib/vonage/client.rb', line 32 def alerts @alerts ||= T.let(Alerts.new(config), T.nilable(Vonage::Alerts)) end |
#applications ⇒ Object
39 40 41 |
# File 'lib/vonage/client.rb', line 39 def applications @applications ||= T.let(Applications.new(config), T.nilable(Vonage::Applications)) end |
#conversations ⇒ Object
46 47 48 |
# File 'lib/vonage/client.rb', line 46 def conversations @conversations ||= T.let(Conversations.new(config), T.nilable(Vonage::Conversations)) end |
#conversions ⇒ Object
53 54 55 |
# File 'lib/vonage/client.rb', line 53 def conversions @conversions ||= T.let(Conversions.new(config), T.nilable(Vonage::Conversions)) end |
#files ⇒ Object
60 61 62 |
# File 'lib/vonage/client.rb', line 60 def files @files ||= T.let(Files.new(config), T.nilable(Vonage::Files)) end |
#meetings ⇒ Object
67 68 69 |
# File 'lib/vonage/client.rb', line 67 def meetings @meetings ||= T.let(Meetings.new(config), T.nilable(Vonage::Meetings)) end |
#messages ⇒ Object
74 75 76 |
# File 'lib/vonage/client.rb', line 74 def @messages ||= T.let(Messages.new(config), T.nilable(Vonage::Messages)) end |
#messaging ⇒ Object
81 82 83 |
# File 'lib/vonage/client.rb', line 81 def messaging @messaging ||= T.let(Messaging.new(config), T.nilable(Vonage::Messaging)) end |
#number_insight ⇒ Object
88 89 90 |
# File 'lib/vonage/client.rb', line 88 def number_insight @number_insight ||= T.let(NumberInsight.new(config), T.nilable(Vonage::NumberInsight)) end |
#numbers ⇒ Object
95 96 97 |
# File 'lib/vonage/client.rb', line 95 def numbers @numbers ||= T.let(Numbers.new(config), T.nilable(Vonage::Numbers)) end |
#pricing ⇒ Object
102 103 104 |
# File 'lib/vonage/client.rb', line 102 def pricing @pricing ||= T.let(PricingTypes.new(config), T.nilable(Vonage::PricingTypes)) end |
#proactive_connect ⇒ Object
109 110 111 |
# File 'lib/vonage/client.rb', line 109 def proactive_connect @proactive_connect ||= T.let(ProactiveConnect.new(config), T.nilable(Vonage::ProactiveConnect)) end |
#redact ⇒ Object
116 117 118 |
# File 'lib/vonage/client.rb', line 116 def redact @redact ||= T.let(Redact.new(config), T.nilable(Vonage::Redact)) end |
#secrets ⇒ Object
123 124 125 |
# File 'lib/vonage/client.rb', line 123 def secrets @secrets ||= T.let(Secrets.new(config), T.nilable(Vonage::Secrets)) end |
#signature ⇒ Object
18 19 20 |
# File 'lib/vonage/client.rb', line 18 def signature @signature ||= T.let(Signature.new(config), T.nilable(Vonage::Signature)) end |
#sms ⇒ Object
130 131 132 |
# File 'lib/vonage/client.rb', line 130 def sms @sms ||= T.let(SMS.new(config), T.nilable(Vonage::SMS)) end |
#subaccounts ⇒ Object
137 138 139 |
# File 'lib/vonage/client.rb', line 137 def subaccounts @subaccounts ||= T.let(Subaccounts.new(config), T.nilable(Vonage::Subaccounts)) end |
#tfa ⇒ Object
144 145 146 |
# File 'lib/vonage/client.rb', line 144 def tfa @tfa ||= T.let(TFA.new(config), T.nilable(Vonage::TFA)) end |
#users ⇒ Object
151 152 153 |
# File 'lib/vonage/client.rb', line 151 def users @users ||= T.let(Users.new(config), T.nilable(Vonage::Users)) end |
#verify ⇒ Object
158 159 160 |
# File 'lib/vonage/client.rb', line 158 def verify @verify ||= T.let(Verify.new(config), T.nilable(Vonage::Verify)) end |