Navigation Menu

Skip to content

Commit

Permalink
Return res.
Browse files Browse the repository at this point in the history
  • Loading branch information
Willa committed Jan 23, 2013
1 parent e3a8e63 commit 5872506
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions lib/crowdring/crowdring.rb
Expand Up @@ -125,6 +125,7 @@ def respond(cur_service, request, response_type)
response = AssignedPhoneNumber.handle(response_type, request)
res = cur_service.build_response(request.to, response || [{cmd: :reject}])
p res
res
end

def process_request(service_name, request, response_type)
Expand Down
1 change: 0 additions & 1 deletion lib/crowdring/telephony_services/kookoo_service.rb
Expand Up @@ -25,7 +25,6 @@ def initialize(api_key)
end

def build_response(from, commands)
p "HERE"
builder = Builder::XmlMarkup.new(indent: 2)
builder.response do |r|
commands.each do |c|
Expand Down

0 comments on commit 5872506

Please sign in to comment.