lib/clicksign/api.rb in clicksign-api-1.0.1 vs lib/clicksign/api.rb in clicksign-api-1.1.0.alpha

- old
+ new

@@ -1,28 +1,31 @@ -require "clicksign/api/version" +require 'clicksign/api/version' -require "faraday" -require "base64" +require 'faraday' +require 'base64' +require 'json' +require 'yaml' +require 'erb' begin - require "dotenv/load" - require "byebug" + require 'dotenv/load' + require 'byebug' + require 'pry' rescue LoadError end -require "clicksign/api/requests" -require "clicksign/api/batch" -require "clicksign/api/document" -require "clicksign/api/documents_signers" -require "clicksign/api/signer" -require "clicksign/api/notifier" -require "clicksign/api/whatsapp_notifier" +require 'clicksign/api/requests' +require 'clicksign/api/batch' +require 'clicksign/api/document' +require 'clicksign/api/documents_signers' +require 'clicksign/api/signer' +require 'clicksign/api/notifier' +require 'clicksign/api/whatsapp_notifier' - module Clicksign module API class << self - attr_accessor :access_token, :production + attr_accessor :credentials, :production def configure yield(self) end