Completed
Push — master ( ba9cef...428b79 )
by John
01:10
created

Base   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 25
Duplicated Lines 0 %
Metric Value
wmc 6
dl 0
loc 25
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A method() 0 3 1
A content_type() 0 3 1
A body() 0 3 1
A headers() 0 3 1
A url() 0 3 1
A params() 0 3 1
1
module RingCentralSdk::REST::Request
2
  class Base
3
    def method
4
      return 'get' # HTTP methods
5
    end
6
7
    def url
8
      return ''
9
    end
10
11
    def params
12
      return {}
13
    end
14
15
    def headers
16
      return {}
17
    end
18
19
    def content_type
20
      return ''
21
    end
22
23
    def body
24
      return '' # '' || Hash
25
    end
26
  end
27
end
28