lib/revo/loans_api/client.rb in revo-loans_api-0.0.36 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.37

- old
+ new

@@ -304,9 +304,16 @@ "clients/#{client_id}/additional_services", params: additional_services ) end + def store_document(store_id:, kind:, format: :pdf) + make_request( + :get, + "stores/#{store_id}/documents/#{kind}.#{format}" + ) + end + private API_CONTENT_TYPE = 'application/json'.freeze attr_reader :base_url, :login, :password, :application_source