Class: Increase::Resources::ProofOfAuthorizationRequestSubmissions
- Inherits:
-
Object
- Object
- Increase::Resources::ProofOfAuthorizationRequestSubmissions
- Defined in:
- lib/increase/resources/proof_of_authorization_request_submissions.rb
Instance Method Summary collapse
-
#create(params = {}, opts = {}) ⇒ Increase::Models::ProofOfAuthorizationRequestSubmission
Submit Proof of Authorization.
-
#initialize(client:) ⇒ ProofOfAuthorizationRequestSubmissions
constructor
A new instance of ProofOfAuthorizationRequestSubmissions.
-
#list(params = {}, opts = {}) ⇒ Increase::Page<Increase::Models::ProofOfAuthorizationRequestSubmission>
List Proof of Authorization Request Submissions.
-
#retrieve(proof_of_authorization_request_submission_id, opts = {}) ⇒ Increase::Models::ProofOfAuthorizationRequestSubmission
Retrieve a Proof of Authorization Request Submission.
Constructor Details
#initialize(client:) ⇒ ProofOfAuthorizationRequestSubmissions
Returns a new instance of ProofOfAuthorizationRequestSubmissions.
6 7 8 |
# File 'lib/increase/resources/proof_of_authorization_request_submissions.rb', line 6 def initialize(client:) @client = client end |
Instance Method Details
#create(params = {}, opts = {}) ⇒ Increase::Models::ProofOfAuthorizationRequestSubmission
Submit Proof of Authorization
28 29 30 31 32 33 34 35 |
# File 'lib/increase/resources/proof_of_authorization_request_submissions.rb', line 28 def create(params = {}, opts = {}) req = {} req[:method] = :post req[:path] = "/proof_of_authorization_request_submissions" req[:body] = params req[:model] = Increase::Models::ProofOfAuthorizationRequestSubmission @client.request(req, opts) end |
#list(params = {}, opts = {}) ⇒ Increase::Page<Increase::Models::ProofOfAuthorizationRequestSubmission>
List Proof of Authorization Request Submissions
66 67 68 69 70 71 72 73 74 |
# File 'lib/increase/resources/proof_of_authorization_request_submissions.rb', line 66 def list(params = {}, opts = {}) req = {} req[:method] = :get req[:path] = "/proof_of_authorization_request_submissions" req[:query] = params req[:page] = Increase::Page req[:model] = Increase::Models::ProofOfAuthorizationRequestSubmission @client.request(req, opts) end |
#retrieve(proof_of_authorization_request_submission_id, opts = {}) ⇒ Increase::Models::ProofOfAuthorizationRequestSubmission
Retrieve a Proof of Authorization Request Submission
43 44 45 46 47 48 49 |
# File 'lib/increase/resources/proof_of_authorization_request_submissions.rb', line 43 def retrieve(, opts = {}) req = {} req[:method] = :get req[:path] = "/proof_of_authorization_request_submissions/#{}" req[:model] = Increase::Models::ProofOfAuthorizationRequestSubmission @client.request(req, opts) end |