Class: Eligible::PreauthResource

Inherits:
CoverageResource show all
Defined in:
lib/eligible/preauth_resource.rb

Direct Known Subclasses

Precert, Referral

Instance Attribute Summary

Attributes inherited from EligibleObject

#api_key, #eligible_id

Class Method Summary collapse

Methods inherited from CoverageResource

get, get_uri, post, post_uri

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

.create(params, api_key = nil) ⇒ Object



7
8
9
# File 'lib/eligible/preauth_resource.rb', line 7

def self.create(params, api_key = nil)
  post(params, api_key)
end

.inquiry(params, api_key = nil) ⇒ Object



3
4
5
# File 'lib/eligible/preauth_resource.rb', line 3

def self.inquiry(params, api_key = nil)
  get(params, api_key)
end