Skip to content

Commit d5266a4

Browse files
author
Ivan Müller
committed
add coverate medicate batch post #263
1 parent 007b36a commit d5266a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/eligible/coverage.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ def self.batch_post(params, api_key=nil)
1818
response, api_key = Eligible.request(:post, '/coverage/all/batch.json', api_key, params)
1919
Util.convert_to_eligible_object(response, api_key)
2020
end
21+
22+
def self.batch_medicare_post(params, api_key=nil)
23+
response, api_key = Eligible.request(:post, '/medicare/coverage/batch.json', api_key, params)
24+
Util.convert_to_eligible_object(response, api_key)
2125
end
2226

2327
end

0 commit comments

Comments
 (0)