Class: RingCentralSdk::REST::Request::Base
- Inherits:
-
Object
- Object
- RingCentralSdk::REST::Request::Base
- Defined in:
- lib/ringcentral_sdk/rest/request/base.rb
Instance Method Summary collapse
- #body ⇒ Object
- #content_type ⇒ Object
- #headers ⇒ Object
- #method ⇒ Object
- #params ⇒ Object
- #url ⇒ Object
Instance Method Details
#body ⇒ Object
23 24 25 |
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 23 def body return '' # '' || Hash end |
#content_type ⇒ Object
19 20 21 |
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 19 def content_type return '' end |
#headers ⇒ Object
15 16 17 |
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 15 def headers return {} end |
#method ⇒ Object
3 4 5 |
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 3 def method return 'get' # HTTP methods end |
#params ⇒ Object
11 12 13 |
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 11 def params return {} end |
#url ⇒ Object
7 8 9 |
# File 'lib/ringcentral_sdk/rest/request/base.rb', line 7 def url return '' end |