texel-docusign 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt CHANGED
@@ -12,5 +12,4 @@ lib/docusign/docusign.rb
12
12
  lib/docusign/docusignDriver.rb
13
13
  lib/docusign/docusignMappingRegistry.rb
14
14
  tasks/docusign_tasks.rake
15
- test.rb
16
15
  test/test_docusign.rb
data/docusign.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{docusign}
5
- s.version = "0.1"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Leigh Caplan"]
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.email = ["texel1@gmail.com"]
13
13
  s.executables = ["docusign"]
14
14
  s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
15
- s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "bin/docusign", "docusign.gemspec", "lib/DocuSign3.0API.wsdl", "lib/docusign.rb", "lib/docusign/auth_header_handler.rb", "lib/docusign/base.rb", "lib/docusign/docusign.rb", "lib/docusign/docusignDriver.rb", "lib/docusign/docusignMappingRegistry.rb", "tasks/docusign_tasks.rake", "test.rb", "test/test_docusign.rb"]
15
+ s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "bin/docusign", "docusign.gemspec", "lib/DocuSign3.0API.wsdl", "lib/docusign.rb", "lib/docusign/auth_header_handler.rb", "lib/docusign/base.rb", "lib/docusign/docusign.rb", "lib/docusign/docusignDriver.rb", "lib/docusign/docusignMappingRegistry.rb", "tasks/docusign_tasks.rake", "test/test_docusign.rb"]
16
16
  s.has_rdoc = true
17
17
  s.homepage = %q{http://www.docusign.com}
18
18
  s.rdoc_options = ["--main", "README.txt"]
data/lib/docusign/base.rb CHANGED
@@ -1,15 +1,18 @@
1
1
  module Docusign
2
2
  class Base
3
3
 
4
- class << self
5
- attr_accessor :user_name, :account_id
6
-
7
- def login(user_name, password)
4
+ class << self
5
+ def login(options={})
6
+
8
7
  connection = Docusign::APIServiceSoap.new
9
- header = AuthHeaderHandler.new(user_name, password)
8
+ header = AuthHeaderHandler.new(options.delete(:user_name), options.delete(:password))
10
9
 
11
10
  connection.headerhandler << header
12
11
 
12
+ options.each do |key, value|
13
+ connection.send("#{key}=", value)
14
+ end
15
+
13
16
  connection
14
17
  end
15
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texel-docusign
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh Caplan
@@ -47,7 +47,6 @@ files:
47
47
  - lib/docusign/docusignDriver.rb
48
48
  - lib/docusign/docusignMappingRegistry.rb
49
49
  - tasks/docusign_tasks.rake
50
- - test.rb
51
50
  - test/test_docusign.rb
52
51
  has_rdoc: true
53
52
  homepage: http://www.docusign.com