Class: HelloSign::Resource::Team

Inherits:
BaseResource show all
Defined in:
lib/hello_sign/resource/team.rb

Overview

Contains information about a Team and its members. Take a look at our API Documentation on the Team Resource (app.hellosign.com/api/reference#Team) for more information about this.

Author:

  • hellosign

Instance Attribute Summary

Attributes inherited from BaseResource

#data, #headers, #raw_data, #warnings

Instance Method Summary collapse

Methods inherited from BaseResource

#method_missing

Constructor Details

#initialize(hash, key = 'team') ⇒ HelloSign::Resource:Team

Creates a new Team from a hash. If a key is defined then team data with be the value of hash, otherwise the hash itself.

Parameters:

  • hash (Hash)

    Team’s data

  • key (String) (defaults to: 'team')

    (team) Key of the hash, point to where Team data is. If nil, then the hash itself.



41
42
43
# File 'lib/hello_sign/resource/team.rb', line 41

def initialize(hash, key='team')
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HelloSign::Resource::BaseResource