Class: Eztexting::Availability

Inherits:
Base
  • Object
show all
Defined in:
lib/eztexting/availablity.rb

Class Method Summary collapse

Methods inherited from Base

do_post, processed_reponse

Class Method Details

.check(keyword) ⇒ Array

Check the availablity of a keyword



7
8
9
10
11
12
13
14
15
# File 'lib/eztexting/availablity.rb', line 7

def self.check(keyword)
  location = "/keyword/check/"
  options  = {:keyword => keyword}
  
  response = self.do_post(location,options)
  response_result = self.process(response)
  
  return self.processed_reponse(response_result,response)
end