Sha256: ce5ef778fb4203552a91245eb2dc918aaccac246a6829180a3edd61ace05e70b
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
module Eligible class Demographic < APIResource class << self def get(params, api_key=nil) response, api_key = Eligible.request(:get, '/demographic/all.json', api_key, params) Util.convert_to_eligible_object(response, api_key) end def batch_post(params, api_key=nil) response, api_key = Eligible.request(:post, '/demographic/all/batch.json', api_key, params) Util.convert_to_eligible_object(response, api_key) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eligible-2.4.3 | lib/eligible/demographic.rb |
eligible-2.4.2 | lib/eligible/demographic.rb |
eligible-2.4.1 | lib/eligible/demographic.rb |