Class: Eligible::Demographic

Inherits:
CoverageResource show all
Defined in:
lib/eligible/demographic.rb

Instance Attribute Summary

Attributes inherited from EligibleObject

#api_key, #eligible_id

Class Method Summary collapse

Methods inherited from CoverageResource

get, post

Methods inherited from APIResource

api_url, class_name, require_param, send_request, url

Methods inherited from EligibleObject

#[], #[]=, construct_from, #each, #error, #initialize, #keys, #refresh_from, #to_hash, #to_json, #values

Constructor Details

This class inherits a constructor from Eligible::EligibleObject

Class Method Details

.get_uriObject



3
4
5
# File 'lib/eligible/demographic.rb', line 3

def self.get_uri
  return '/demographic/all.json'
end

.post_uriObject



7
8
9
# File 'lib/eligible/demographic.rb', line 7

def self.post_uri
  return '/demographic/all/batch.json'
end