Completed
Push — master ( b7118a...c3970f )
by John
01:10
created

Extension   A

Complexity

Total Complexity 1

Size/Duplication

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 5 1
1
module RingCentralSdk::REST
2
  class Extension
3
  	attr_reader :extension_id
4
  	attr_reader :presence
5
  	attr_accessor :client
6
  	def initialize(extension_id, opts={})
7
  	  @extension_id = extension_id
8
  	  @client = opts.has_key?(:client) ? opts[:client] : nil
9
      @presence = RingCentralSdk::REST::ExtensionPresence.new(extension_id, opts)
10
  	end
11
  end
12
end