class Reggora::Submission
Public Class Methods
new(client)
click to toggle source
# File lib/reggora/Entity/Lender/submission.rb, line 3 def initialize(client) @model = 'submission' @client = client end
Public Instance Methods
all(order_id)
click to toggle source
retrieves all submissions associated with an order.
# File lib/reggora/Entity/Lender/submission.rb, line 8 def all(order_id) @client.get("/order-submissions/#{order_id}") end
download_submission_doc(order_id, version, report_type)
click to toggle source
retrieves one of the three forms that are associated with an order submission.
# File lib/reggora/Entity/Lender/submission.rb, line 13 def download_submission_doc(order_id, version, report_type) @client.get("/order-submission/#{order_id}/#{version}/#{report_type}") end