Module: WhitePages

Defined in:
lib/white_pages.rb,
lib/white_pages/client.rb

Defined Under Namespace

Classes: Client, WhitePagesError

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



8
9
10
# File 'lib/white_pages.rb', line 8

def api_key
  @api_key
end

Class Method Details

.find_business(options) ⇒ Object



15
16
17
# File 'lib/white_pages.rb', line 15

def self.find_business(options)
  Client.new.find_business(options)
end

.find_person(options) ⇒ Object



11
12
13
# File 'lib/white_pages.rb', line 11

def self.find_person(options)
  Client.new.find_person(options)
end

.reverse_address(options) ⇒ Object



19
20
21
# File 'lib/white_pages.rb', line 19

def self.reverse_address(options)
  Client.new.reverse_address(options)
end

.reverse_phone(options) ⇒ Object



23
24
25
# File 'lib/white_pages.rb', line 23

def self.reverse_phone(options)
  Client.new.reverse_phone(options)
end