Skip to content

Commit

Permalink
Removing local for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Willa committed Jan 23, 2013
1 parent 7d34bc1 commit c33db88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/crowdring/filtered_message.rb
Expand Up @@ -13,7 +13,7 @@ def constraints=(constraints)
end

def accept?(ringer, sms_number)
tag_filter.accept?(ringer) && ringer.subscribed? && local?(ringer.phone_number, sms_number)
tag_filter.accept?(ringer) && ringer.subscribed?
end

def send_message(params)
Expand Down
3 changes: 2 additions & 1 deletion lib/crowdring/telephony_services/kookoo_service.rb
Expand Up @@ -17,7 +17,7 @@ def callback?

class KooKooService < TelephonyService
supports :voice, :sms
request_handler(KooKooRequest) {|inst| [inst.numbers.first]}
request_handler KooKooRequest

def initialize(api_key)
@api_key = api_key
Expand Down Expand Up @@ -45,6 +45,7 @@ def numbers
end

def send_sms(params)
p "HERE"
uri = URI('http://www.kookoo.in/outbound/outbound_sms.php')
params = { message: params[:msg], phone_no: params[:to], api_key: @api_key }
uri.query = URI.encode_www_form(params)
Expand Down

0 comments on commit c33db88

Please sign in to comment.