Class: RingCentralSdk::REST::Request::Base

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

Direct Known Subclasses

Fax, Simple

Instance Method Summary collapse

Instance Method Details

#bodyObject



23
24
25
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 23

def body
  return '' # '' || Hash
end

#content_typeObject



19
20
21
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 19

def content_type
  return ''
end

#headersObject



15
16
17
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 15

def headers
  return {}
end

#methodObject



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

def method
  return 'get' # HTTP methods
end

#paramsObject



11
12
13
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 11

def params
  return {}
end

#urlObject



7
8
9
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 7

def url
  return ''
end