Class: RingCentralSdk::REST::Messages

Inherits:
Object
  • Object
show all
Defined in:
lib/ringcentral_sdk/rest/messages.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Messages

Returns a new instance of Messages.



6
7
8
9
10
# File 'lib/ringcentral_sdk/rest/messages.rb', line 6

def initialize(client)
  @client = client
  @sms = RingCentralSdk::REST::MessagesSMS.new(client)
  @fax = RingCentralSdk::REST::MessagesFax.new(client)
end

Instance Attribute Details

#faxObject (readonly)

Returns the value of attribute fax.



4
5
6
# File 'lib/ringcentral_sdk/rest/messages.rb', line 4

def fax
  @fax
end

#smsObject (readonly)

Returns the value of attribute sms.



3
4
5
# File 'lib/ringcentral_sdk/rest/messages.rb', line 3

def sms
  @sms
end