Class: ChangeHealthcare::ObjectDoc
- Inherits:
-
BaseApiObject
- Object
- BaseApiObject
- ChangeHealthcare::ObjectDoc
- Defined in:
- lib/change_healthcare/object_doc.rb
Overview
Class Method Summary collapse
- .attributes ⇒ Object
- .chc_object_name ⇒ Object
-
.get(params = {}) ⇒ Object
cli-cert.emdeon.com/api/cert/objectdoc.html#get params = { objectdoc: “621448196359963”}.
-
.search(params = {}) ⇒ Object
cli-cert.emdeon.com/api/cert/objectdoc.html#search params = { object_id: “3004834601”}.
Methods inherited from BaseApiObject
Constructor Details
This class inherits a constructor from ChangeHealthcare::BaseApiObject
Class Method Details
.attributes ⇒ Object
3 4 5 6 7 8 |
# File 'lib/change_healthcare/object_doc.rb', line 3 def self.attributes [ :body_text, :expiration_date, :mime_type, :object_id, :object_type, :objectdoc, :report_date, :storage_date ] end |
.chc_object_name ⇒ Object
12 13 14 |
# File 'lib/change_healthcare/object_doc.rb', line 12 def self.chc_object_name "objectdoc" end |
.get(params = {}) ⇒ Object
cli-cert.emdeon.com/api/cert/objectdoc.html#get params = { objectdoc: “621448196359963”}
25 26 27 28 |
# File 'lib/change_healthcare/object_doc.rb', line 25 def self.get(params={}) resp = call_api(__method__.to_s, params, false) response_to_list(resp) end |
.search(params = {}) ⇒ Object
cli-cert.emdeon.com/api/cert/objectdoc.html#search params = { object_id: “3004834601”}
18 19 20 21 |
# File 'lib/change_healthcare/object_doc.rb', line 18 def self.search(params={}) resp = call_api(__method__.to_s, params, false) response_to_list(resp) end |