lib/hello_sign/resource/unclaimed_draft.rb in hellosign-ruby-sdk-3.7.5 vs lib/hello_sign/resource/unclaimed_draft.rb in hellosign-ruby-sdk-3.7.6
- old
+ new
@@ -1,6 +1,5 @@
-#
# The MIT License (MIT)
#
# Copyright (C) 2014 hellosign.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -18,29 +17,25 @@
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-#
module HelloSign
module Resource
-
- #
- # A group of documents that a user can take ownership of by going to the claim_url.
- # Take a look at our API documentation for creating UnclaimedDrafts (https://app.hellosign.com/api/reference#UnclaimedDraft)
+ # Contains information about an UnclaimedDraft.
+ # Take a look at our API documentation for the UnclaimedDraft resource (https://app.hellosign.com/api/reference#UnclaimedDraft)
# for more information about this.
#
# @author [hellosign]
- #
+
class UnclaimedDraft < BaseResource
- #
- # create a new UnclaimedDraft from a hash. If a key is defined then UnclaimedDraft data with be the value of hash[key], otherwise the hash itself.
+ # Creates a new UnclaimedDraft from a hash. If a key is defined then UnclaimedDraft data with be the value of hash[key], otherwise the hash itself.
# @param hash [Hash] UnclaimedDraft's data
# @param key [String] (unclaimed_draft) Key of the hash, point to where UnclaimedDraft data is. If nil, then the hash itself.
#
- # @return [HelloSign::Resource:Team] an UnclaimedDraft resource
+ # @return [HelloSign::Resource::UnclaimedDraft] an UnclaimedDraft
def initialize(hash, key='unclaimed_draft')
super
end
end