Class: RingCentralSdk::REST::Messages
- Inherits:
-
Object
- Object
- RingCentralSdk::REST::Messages
- Defined in:
- lib/ringcentral_sdk/rest/messages.rb
Overview
Messages is a wrapper helper class
Instance Attribute Summary collapse
-
#fax ⇒ Object
readonly
Returns the value of attribute fax.
-
#sms ⇒ Object
readonly
Returns the value of attribute sms.
Instance Method Summary collapse
-
#initialize(client) ⇒ Messages
constructor
A new instance of Messages.
Constructor Details
#initialize(client) ⇒ Messages
Returns a new instance of Messages.
8 9 10 11 12 |
# File 'lib/ringcentral_sdk/rest/messages.rb', line 8 def initialize(client) @client = client @sms = RingCentralSdk::REST::MessagesSMS.new client @fax = RingCentralSdk::REST::MessagesFax.new client end |
Instance Attribute Details
#fax ⇒ Object (readonly)
Returns the value of attribute fax.
6 7 8 |
# File 'lib/ringcentral_sdk/rest/messages.rb', line 6 def fax @fax end |
#sms ⇒ Object (readonly)
Returns the value of attribute sms.
5 6 7 |
# File 'lib/ringcentral_sdk/rest/messages.rb', line 5 def sms @sms end |