Module: WashoePolls

Defined in:
lib/washoe_polls.rb,
lib/washoe_polls/client.rb,
lib/washoe_polls/version.rb

Defined Under Namespace

Classes: Client

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.clientWashoePolls::Client

Alias for WashoePolls::Client.new

Returns:



10
11
12
# File 'lib/washoe_polls.rb', line 10

def self.client()
  WashoePolls::Client.new()
end

.fetch(voter_id) ⇒ Object



18
19
20
# File 'lib/washoe_polls.rb', line 18

def self.fetch(voter_id)
  client.fetch(voter_id)
end

.lookup(last_name, birth_date) ⇒ Object



14
15
16
# File 'lib/washoe_polls.rb', line 14

def self.lookup(last_name,birth_date)
  client.lookup(last_name,birth_date)
end