Skip to content

Commit 54eaf6d

Browse files
committed
Updated on 2022-08-05 15:05:45. Version: 0.0.3
1 parent bc9e824 commit 54eaf6d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/docspring/api/pdf.ex

+6-6
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ defmodule Docspring.Api.PDF do
5353
{:ok, [%CreateSubmissionResponse{}, ...]} on success
5454
{:error, info} on failure
5555
"""
56-
@spec batch_generate_pdfv1(Tesla.Env.client, String.t, list(Docspring.Model.Object.t), keyword()) :: {:ok, list(Docspring.Model.CreateSubmissionResponse.t)} | {:error, Tesla.Env.t}
57-
def batch_generate_pdfv1(connection, template_id, object, _opts \\ []) do
56+
@spec batch_generate_pdf_v1(Tesla.Env.client, String.t, list(Docspring.Model.Object.t), keyword()) :: {:ok, list(Docspring.Model.CreateSubmissionResponse.t)} | {:error, Tesla.Env.t}
57+
def batch_generate_pdf_v1(connection, template_id, object, _opts \\ []) do
5858
%{}
5959
|> method(:post)
6060
|> url("/templates/#{template_id}/submissions/batch")
@@ -77,8 +77,8 @@ defmodule Docspring.Api.PDF do
7777
{:ok, %Docspring.Model.CreateSubmissionBatchResponse{}} on success
7878
{:error, info} on failure
7979
"""
80-
@spec batch_generate_pd_fs(Tesla.Env.client, keyword()) :: {:ok, Docspring.Model.CreateSubmissionBatchResponse.t} | {:error, Tesla.Env.t}
81-
def batch_generate_pd_fs(connection, opts \\ []) do
80+
@spec batch_generate_pdfs(Tesla.Env.client, keyword()) :: {:ok, Docspring.Model.CreateSubmissionBatchResponse.t} | {:error, Tesla.Env.t}
81+
def batch_generate_pdfs(connection, opts \\ []) do
8282
optional_params = %{
8383
:"SubmissionBatchData" => :body
8484
}
@@ -104,8 +104,8 @@ defmodule Docspring.Api.PDF do
104104
{:ok, %Docspring.Model.CreateCombinedSubmissionResponse{}} on success
105105
{:error, info} on failure
106106
"""
107-
@spec combine_pd_fs(Tesla.Env.client, keyword()) :: {:ok, Docspring.Model.CreateCombinedSubmissionResponse.t} | {:error, Tesla.Env.t}
108-
def combine_pd_fs(connection, opts \\ []) do
107+
@spec combine_pdfs(Tesla.Env.client, keyword()) :: {:ok, Docspring.Model.CreateCombinedSubmissionResponse.t} | {:error, Tesla.Env.t}
108+
def combine_pdfs(connection, opts \\ []) do
109109
optional_params = %{
110110
:"CombinePdfsData" => :body
111111
}

mix.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Docspring.Mixfile do
33

44
def project do
55
[app: :docspring,
6-
version: "0.0.2",
6+
version: "0.0.3",
77
elixir: "~> 1.4",
88
build_embedded: Mix.env == :prod,
99
start_permanent: Mix.env == :prod,
@@ -12,8 +12,8 @@ defmodule Docspring.Mixfile do
1212
package: package(),
1313
source_url: "https://github.com/DocSpring/docspring-elixir",
1414
docs: [
15-
main: "Docspring", # The main page in the docs
16-
logo: "../../../public/logo.png",
15+
# main: "Docspring", # The main page in the docs
16+
# logo: "../../../public/logo.png",
1717
authors: ["Nathan Broadbent"]
1818
]]
1919
end

0 commit comments

Comments
 (0)