Skip to content

Commit

Permalink
update extension_presence method names
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Jan 22, 2016
1 parent f107d55 commit 0e20f4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ringcentral_sdk/helpers/extension_presence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def retrieve()
return @presence_info
end

def enable_dnd_department_calls()
def enable_department_calls()
retrieve()

if !@presence_info.has_key?('dndStatus')
Expand All @@ -42,7 +42,7 @@ def enable_dnd_department_calls()
end
end

def disable_dnd_department_calls()
def disable_department_calls()
retrieve()

if !@presence_info.has_key?('dndStatus')
Expand Down Expand Up @@ -73,7 +73,7 @@ def update(body=nil)
return @presence_info
end

def status_enable_department_calls(current_status)
def status_enable_dnd_department_calls(current_status)
new_status = current_status

new_statuses = {
Expand All @@ -88,7 +88,7 @@ def status_enable_department_calls(current_status)
return new_status
end

def status_disable_department_calls(current_status)
def status_disable_dnd_department_calls(current_status)
new_status = current_status

new_statuses = {
Expand Down

0 comments on commit 0e20f4c

Please sign in to comment.