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, 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
.post(params, api_key = nil) ⇒ Object
3 4 5 6 |
# File 'lib/eligible/x12.rb', line 3 def self.post(params, api_key = nil) params[:format] = 'x12' send_request(:post, '/x12', api_key, **params) end |