Class: Eligible::X12
- Inherits:
-
APIResource
- Object
- EligibleObject
- APIResource
- Eligible::X12
- Defined in:
- lib/eligible/x12.rb
Instance Attribute Summary
Attributes inherited from EligibleObject
Class Method Summary collapse
Methods inherited from APIResource
api_url, class_name, endpoint_name, require_param, required_param_validation, rest_api_params, 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
.post(params, opts = {}) ⇒ Object
3 4 5 6 |
# File 'lib/eligible/x12.rb', line 3 def self.post(params, opts = {}) params[:format] = 'x12' send_request :post, '/x12', params, **opts end |