Class: Docuseal::Submission
- Inherits:
-
Model
- Object
- Model
- Docuseal::Submission
show all
- Defined in:
- lib/docuseal/submission.rb
Class Method Summary
collapse
Methods inherited from Model
archive, find, list, not_allowed_to, skip_coertion_for, #to_json, to_proc, update
Class Method Details
.create(from: nil, **attrs) ⇒ Object
10
11
12
13
14
15
16
|
# File 'lib/docuseal/submission.rb', line 10
def self.create(from: nil, **attrs)
if from
super(path: "#{path}/#{from}", **attrs)
else
super(**attrs)
end
end
|
.path ⇒ Object
6
7
8
|
# File 'lib/docuseal/submission.rb', line 6
def self.path
"/submissions"
end
|