Class: HelloSign::Proxy::UnclaimedDraft

Inherits:
Object
  • Object
show all
Defined in:
lib/hello_sign/proxy/unclaimed_draft.rb

Constant Summary

Constants inherited from Object

Object::DEFAULT_PAGE

Instance Method Summary collapse

Methods inherited from Object

#initialize

Constructor Details

This class inherits a constructor from HelloSign::Proxy::Object

Instance Method Details

#createObject

[View source]

8
9
10
11
12
# File 'lib/hello_sign/proxy/unclaimed_draft.rb', line 8

def create
  @client.post('/unclaimed_draft/create', {
    body: Parameters::UnclaimedDraft.new.tap { |p| yield p }.formatted
  })
end