lib/eligible/x12.rb in eligible-3.0.0 vs lib/eligible/x12.rb in eligible-3.1.0.beta1
- old
+ new
@@ -1,8 +1,8 @@
module Eligible
class X12 < APIResource
- def self.post(params, api_key = nil)
+ def self.post(params, opts = {})
params[:format] = 'x12'
- send_request(:post, '/x12', api_key, **params)
+ send_request :post, '/x12', params, **opts
end
end
end