Class: RingCentralSdk::REST::Messages

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

Overview

Messages is a wrapper helper class

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#faxObject (readonly)

Returns the value of attribute fax.



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

def fax
  @fax
end

#smsObject (readonly)

Returns the value of attribute sms.



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

def sms
  @sms
end