Module: HelloSign
- Extended by:
- Configuration
- Defined in:
- lib/hello_sign/error.rb,
lib/hello_sign.rb,
lib/hello_sign/client.rb,
lib/hello_sign/version.rb,
lib/hello_sign/api/team.rb,
lib/hello_sign/api/oauth.rb,
lib/hello_sign/api/account.rb,
lib/hello_sign/api/api_app.rb,
lib/hello_sign/api/embedded.rb,
lib/hello_sign/api/template.rb,
lib/hello_sign/configuration.rb,
lib/hello_sign/resource/team.rb,
lib/hello_sign/resource/account.rb,
lib/hello_sign/resource/api_app.rb,
lib/hello_sign/api/bulk_send_job.rb,
lib/hello_sign/resource/embedded.rb,
lib/hello_sign/resource/template.rb,
lib/hello_sign/api/unclaimed_draft.rb,
lib/hello_sign/api/signature_request.rb,
lib/hello_sign/resource/base_resource.rb,
lib/hello_sign/resource/bulk_send_job.rb,
lib/hello_sign/resource/resource_array.rb,
lib/hello_sign/resource/template_draft.rb,
lib/hello_sign/resource/unclaimed_draft.rb,
lib/hello_sign/resource/signature_request.rb
Overview
The MIT License (MIT)
Copyright © 2014 hellosign.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 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.
Defined Under Namespace
Modules: Api, Configuration, Error, Resource Classes: Client
Constant Summary collapse
- VERSION =
'3.7.7'
Constants included from Configuration
Configuration::DEFAULT_API_VERSION, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_OAUTH_ENDPOINT, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
If HelloSign module doesn’t respond to method, then delegates it to HelloSign::Client.
-
.respond_to?(method, include_all = false) ⇒ Boolean
If HelloSign module doesn’t respond to method, asks HelloSign::Client whether it responded or not.
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
If HelloSign module doesn’t respond to method, then delegates it to HelloSign::Client
34 35 36 37 |
# File 'lib/hello_sign.rb', line 34 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method, include_all = false) ⇒ Boolean
If HelloSign module doesn’t respond to method, asks HelloSign::Client whether it responded or not
41 42 43 |
# File 'lib/hello_sign.rb', line 41 def self.respond_to?(method, include_all=false) return super || client.respond_to?(method) end |