docusign_monitor 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -2
- data/docusign_monitor.gemspec +9 -7
- data/lib/docusign_monitor/api/data_set_api.rb +11 -11
- data/lib/docusign_monitor/client/api_client.rb +22 -13
- data/lib/docusign_monitor/client/api_error.rb +3 -3
- data/lib/docusign_monitor/client/auth/oauth.rb +1 -1
- data/lib/docusign_monitor/configuration.rb +1 -1
- data/lib/docusign_monitor/models/aggregate_result.rb +185 -0
- data/lib/docusign_monitor/models/aggregate_result_result.rb +194 -0
- data/lib/docusign_monitor/models/cursored_result.rb +4 -1
- data/lib/docusign_monitor/models/data_set.rb +197 -0
- data/lib/docusign_monitor/models/web_query.rb +5 -5
- data/lib/docusign_monitor/version.rb +2 -2
- data/lib/docusign_monitor.rb +2 -1
- data/runLinter.sh +1 -0
- metadata +68 -28
- data/docusign_monitor-1.0.0.beta1.gem +0 -0
- data/docusign_monitor-1.0.0.pre.alpha.gem +0 -0
- data/docusign_monitor-1.0.1.pre.alpha.gem +0 -0
- data/tests/Gemfile.lock +0 -46
- data/tests/docs/private.pem +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 528f68adbdfd32aaee5309d739858c7bf7bf33d50ed93273be2952497a3476e6
|
4
|
+
data.tar.gz: 3a88085b1c80ecf5ce01a232c0f7de5fbc015fd1564cb981c2231563583ef279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28317aed365ccc05c13a62d16d1cb190dc5db434e62fed2eba121f3d2f8eb73b07897f279b9d3283cfbf386ddcf877259905254e52f49c5f20ce0914798e308f
|
7
|
+
data.tar.gz: d657c0decdd89a18c5b289cd877fdd786cff8324acb83a29139bdde408fd73a9576c364470210575e00258075f18e988b3272e4baf7e20e58316b83159ad227f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
# DocuSign Monitor Ruby Client Changelog
|
2
2
|
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
|
3
3
|
|
4
|
-
## [v1.
|
4
|
+
## [v1.2.0] - Monitor API v2.0-2.0.0 - 2023-06-14
|
5
5
|
### Changed
|
6
|
-
-
|
6
|
+
- Added support for version v2.0-2.0.0 of the DocuSign Monitor API.
|
7
|
+
- Updated the SDK release version.
|
8
|
+
|
9
|
+
## [v1.1.0] - Monitor API v2.0-1.1.0 - 2022-04-11
|
10
|
+
### Changed
|
11
|
+
- Added support for version v2.0-1.1.0 of the DocuSign Monitor API.
|
12
|
+
- Updated the SDK release version.
|
13
|
+
|
14
|
+
## [v1.0.0] - DocuSign Monitor API v1 - 06/24/2021
|
15
|
+
### Changed
|
16
|
+
- First version of Monitor API, supports DocuSign Monitor API
|
data/docusign_monitor.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
=begin
|
4
|
-
#
|
4
|
+
#Monitor API
|
5
5
|
|
6
6
|
#An API for an integrator to access the features of DocuSign Monitor
|
7
7
|
|
8
|
-
OpenAPI spec version: v2
|
8
|
+
OpenAPI spec version: v2.0
|
9
9
|
Contact: devcenter@docusign.com
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
11
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.authors = ["DocuSign"]
|
22
22
|
s.email = ["devcenter@docusign.com"]
|
23
23
|
s.homepage = "https://github.com/docusign/docusign-monitor-ruby-client"
|
24
|
-
s.summary = "
|
24
|
+
s.summary = "Monitor API Ruby Gem"
|
25
25
|
s.description = "The DocuSign package makes integrating DocuSign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-monitor-ruby-client repository."
|
26
26
|
s.license = "MIT"
|
27
27
|
s.required_ruby_version = ">= 1.9"
|
@@ -31,16 +31,18 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
32
32
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
33
33
|
|
34
|
-
s.add_development_dependency 'rspec', '~> 3.
|
34
|
+
s.add_development_dependency 'rspec-mocks', '~> 3.8', '>= 3.8.0'
|
35
|
+
s.add_development_dependency 'rspec-expectations', '~> 3.8', '>= 3.8.0'
|
36
|
+
s.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
|
35
37
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
36
38
|
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
37
39
|
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
38
40
|
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
39
41
|
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
40
|
-
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.
|
42
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
|
41
43
|
|
42
|
-
s.files = `find *`.split("\n").uniq.sort.select
|
44
|
+
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
43
45
|
s.test_files = `find spec/*`.split("\n")
|
44
46
|
s.executables = []
|
45
47
|
s.require_paths = ["lib"]
|
46
|
-
end
|
48
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Monitor API
|
3
3
|
|
4
|
-
#
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
6
6
|
OpenAPI spec version: v2.0
|
7
7
|
Contact: devcenter@docusign.com
|
@@ -14,10 +14,10 @@ require "uri"
|
|
14
14
|
module DocuSign_Monitor
|
15
15
|
|
16
16
|
class GetStreamOptions
|
17
|
-
#
|
17
|
+
# Specifies a pointer into the dataset where your query will begin. You can either provide an ISO DateTime or a string cursor (from the `endCursor` value in the response). If no value is provided, the query begins from seven days ago. For example, to fetch event data beginning from January 1, 2022, set this value to `2022-01-01T00:00:00Z`. The response will include data about events starting from that date in chronological order. The response also includes an `endCursor` property. To fetch the next page of event data, call this endpoint again with `cursor` set to the previous `endCursor` value.
|
18
18
|
attr_accessor :cursor
|
19
19
|
|
20
|
-
# The maximum number of records to return
|
20
|
+
# The maximum number of records to return. The default value is 1000.
|
21
21
|
attr_accessor :limit
|
22
22
|
|
23
23
|
def self.default
|
@@ -33,10 +33,10 @@ module DocuSign_Monitor
|
|
33
33
|
@api_client = api_client
|
34
34
|
end
|
35
35
|
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# @param data_set_name
|
39
|
-
# @param version
|
36
|
+
# Gets customer event data for an organization.
|
37
|
+
# Gets customer event data for the organization that owns the integration key. The results for this endpoint are paginated by event timestamp. Use the `cursor` parameter to specify where the query begins in the dataset. Use the `limit` parameter to set the number of records returned.
|
38
|
+
# @param data_set_name Must be `monitor`.
|
39
|
+
# @param version Must be `2`.
|
40
40
|
# @param DocuSign_Monitor::GetStreamOptions Options for modifying the behavior of the function.
|
41
41
|
# @return [CursoredResult]
|
42
42
|
def get_stream(data_set_name, version, options = DocuSign_Monitor::GetStreamOptions.default)
|
@@ -44,10 +44,10 @@ module DocuSign_Monitor
|
|
44
44
|
return data
|
45
45
|
end
|
46
46
|
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param data_set_name
|
50
|
-
# @param version
|
47
|
+
# Gets customer event data for an organization.
|
48
|
+
# Gets customer event data for the organization that owns the integration key. The results for this endpoint are paginated by event timestamp. Use the `cursor` parameter to specify where the query begins in the dataset. Use the `limit` parameter to set the number of records returned.
|
49
|
+
# @param data_set_name Must be `monitor`.
|
50
|
+
# @param version Must be `2`.
|
51
51
|
# @param DocuSign_Monitor::GetStreamOptions Options for modifying the behavior of the function.
|
52
52
|
# @return [Array<(CursoredResult, Fixnum, Hash)>] CursoredResult data, response status code and response headers
|
53
53
|
def get_stream_with_http_info(data_set_name, version, options = DocuSign_Monitor::GetStreamOptions.default)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Monitor API
|
3
3
|
|
4
4
|
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
6
|
-
OpenAPI spec version: v2
|
6
|
+
OpenAPI spec version: v2.0
|
7
7
|
Contact: devcenter@docusign.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -35,7 +35,7 @@ module DocuSign_Monitor
|
|
35
35
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
36
36
|
def initialize(config = Configuration.default)
|
37
37
|
@config = config
|
38
|
-
@user_agent = "Swagger-Codegen
|
38
|
+
@user_agent = "Swagger-Codegen/1.2.0/ruby"
|
39
39
|
@default_headers = {
|
40
40
|
'Content-Type' => "application/json",
|
41
41
|
'User-Agent' => @user_agent
|
@@ -106,7 +106,7 @@ module DocuSign_Monitor
|
|
106
106
|
|
107
107
|
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
108
108
|
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
|
109
|
-
|
109
|
+
|
110
110
|
req_opts = {
|
111
111
|
:method => http_method,
|
112
112
|
:headers => header_params,
|
@@ -281,7 +281,12 @@ module DocuSign_Monitor
|
|
281
281
|
# let typhoeus handle File, Array and nil parameters
|
282
282
|
data[key] = value
|
283
283
|
else
|
284
|
-
|
284
|
+
if header_params['Content-Type'] == 'multipart/form-data'
|
285
|
+
header_params['Content-Disposition'] = 'form-data; name=file; filename=' + key
|
286
|
+
data = value
|
287
|
+
else
|
288
|
+
data[key] = value.to_s
|
289
|
+
end
|
285
290
|
end
|
286
291
|
end
|
287
292
|
elsif body
|
@@ -392,8 +397,11 @@ module DocuSign_Monitor
|
|
392
397
|
# Helper method to set oauth base path
|
393
398
|
# @param [String] oauth_base_path if passed nil it will determined from base_path
|
394
399
|
def set_oauth_base_path(oauth_base_path=nil)
|
395
|
-
|
396
|
-
|
400
|
+
if oauth_base_path
|
401
|
+
raise ArgumentError.new('OAuth base path should only include domain name (without https://)') if oauth_base_path.include? "//"
|
402
|
+
self.oauth_base_path = oauth_base_path
|
403
|
+
return
|
404
|
+
end
|
397
405
|
|
398
406
|
# did we need this check as we can determine it from base path
|
399
407
|
#raise ArgumentError.new('oAuthBasePath cannot be empty') unless oauth_base_path
|
@@ -572,13 +580,14 @@ module DocuSign_Monitor
|
|
572
580
|
:return_type => 'OAuth::OAuthToken',
|
573
581
|
:oauth => true
|
574
582
|
}
|
575
|
-
|
576
|
-
|
583
|
+
|
584
|
+
token, status_code, headers = self.call_api("POST", '/oauth/token', params)
|
577
585
|
|
578
|
-
|
586
|
+
if status_code == 200
|
587
|
+
self.default_headers.store('Authorization', "#{token.token_type} #{token.access_token}")
|
579
588
|
|
580
|
-
|
581
|
-
|
589
|
+
token
|
590
|
+
end
|
582
591
|
end
|
583
592
|
|
584
593
|
# Helper method to add default header params
|
@@ -588,4 +597,4 @@ module DocuSign_Monitor
|
|
588
597
|
@default_headers[header_name] = header_value
|
589
598
|
end
|
590
599
|
end
|
591
|
-
end
|
600
|
+
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Monitor API
|
3
3
|
|
4
|
-
#
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
6
|
-
OpenAPI spec version: v2
|
6
|
+
OpenAPI spec version: v2.0
|
7
7
|
Contact: devcenter@docusign.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Monitor API
|
3
3
|
|
4
|
-
#
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
6
6
|
OpenAPI spec version: v2.0
|
7
7
|
Contact: devcenter@docusign.com
|
@@ -0,0 +1,185 @@
|
|
1
|
+
=begin
|
2
|
+
#Monitor API
|
3
|
+
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
|
+
|
6
|
+
OpenAPI spec version: v2.0
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_Monitor
|
15
|
+
class AggregateResult
|
16
|
+
attr_accessor :result
|
17
|
+
|
18
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
19
|
+
def self.attribute_map
|
20
|
+
{
|
21
|
+
:'result' => :'result'
|
22
|
+
}
|
23
|
+
end
|
24
|
+
|
25
|
+
# Attribute type mapping.
|
26
|
+
def self.swagger_types
|
27
|
+
{
|
28
|
+
:'result' => :'Array<AggregateResultResult>'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Initializes the object
|
33
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
34
|
+
def initialize(attributes = {})
|
35
|
+
return unless attributes.is_a?(Hash)
|
36
|
+
|
37
|
+
# convert string to symbol for hash key
|
38
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
39
|
+
|
40
|
+
if attributes.has_key?(:'result')
|
41
|
+
if (value = attributes[:'result']).is_a?(Array)
|
42
|
+
self.result = value
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
48
|
+
# @return Array for valid properties with the reasons
|
49
|
+
def list_invalid_properties
|
50
|
+
invalid_properties = Array.new
|
51
|
+
invalid_properties
|
52
|
+
end
|
53
|
+
|
54
|
+
# Check to see if the all the properties in the model are valid
|
55
|
+
# @return true if the model is valid
|
56
|
+
def valid?
|
57
|
+
true
|
58
|
+
end
|
59
|
+
|
60
|
+
# Checks equality by comparing each attribute.
|
61
|
+
# @param [Object] Object to be compared
|
62
|
+
def ==(o)
|
63
|
+
return true if self.equal?(o)
|
64
|
+
self.class == o.class &&
|
65
|
+
result == o.result
|
66
|
+
end
|
67
|
+
|
68
|
+
# @see the `==` method
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def eql?(o)
|
71
|
+
self == o
|
72
|
+
end
|
73
|
+
|
74
|
+
# Calculates hash code according to all attributes.
|
75
|
+
# @return [Fixnum] Hash code
|
76
|
+
def hash
|
77
|
+
[result].hash
|
78
|
+
end
|
79
|
+
|
80
|
+
# Builds the object from hash
|
81
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
82
|
+
# @return [Object] Returns the model itself
|
83
|
+
def build_from_hash(attributes)
|
84
|
+
return nil unless attributes.is_a?(Hash)
|
85
|
+
self.class.swagger_types.each_pair do |key, type|
|
86
|
+
if type =~ /\AArray<(.*)>/i
|
87
|
+
# check to ensure the input is an array given that the attribute
|
88
|
+
# is documented as an array but the input is not
|
89
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
90
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
91
|
+
end
|
92
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
93
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
94
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
95
|
+
end
|
96
|
+
|
97
|
+
self
|
98
|
+
end
|
99
|
+
|
100
|
+
# Deserializes the data based on type
|
101
|
+
# @param string type Data type
|
102
|
+
# @param string value Value to be deserialized
|
103
|
+
# @return [Object] Deserialized data
|
104
|
+
def _deserialize(type, value)
|
105
|
+
case type.to_sym
|
106
|
+
when :DateTime
|
107
|
+
DateTime.parse(value)
|
108
|
+
when :Date
|
109
|
+
Date.parse(value)
|
110
|
+
when :String
|
111
|
+
value.to_s
|
112
|
+
when :Integer
|
113
|
+
value.to_i
|
114
|
+
when :Float
|
115
|
+
value.to_f
|
116
|
+
when :BOOLEAN
|
117
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
118
|
+
true
|
119
|
+
else
|
120
|
+
false
|
121
|
+
end
|
122
|
+
when :Object
|
123
|
+
# generic object (usually a Hash), return directly
|
124
|
+
value
|
125
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
126
|
+
inner_type = Regexp.last_match[:inner_type]
|
127
|
+
value.map { |v| _deserialize(inner_type, v) }
|
128
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
129
|
+
k_type = Regexp.last_match[:k_type]
|
130
|
+
v_type = Regexp.last_match[:v_type]
|
131
|
+
{}.tap do |hash|
|
132
|
+
value.each do |k, v|
|
133
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
else # model
|
137
|
+
temp_model = DocuSign_Monitor.const_get(type).new
|
138
|
+
temp_model.build_from_hash(value)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# Returns the string representation of the object
|
143
|
+
# @return [String] String presentation of the object
|
144
|
+
def to_s
|
145
|
+
to_hash.to_s
|
146
|
+
end
|
147
|
+
|
148
|
+
# to_body is an alias to to_hash (backward compatibility)
|
149
|
+
# @return [Hash] Returns the object in the form of hash
|
150
|
+
def to_body
|
151
|
+
to_hash
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns the object in the form of hash
|
155
|
+
# @return [Hash] Returns the object in the form of hash
|
156
|
+
def to_hash
|
157
|
+
hash = {}
|
158
|
+
self.class.attribute_map.each_pair do |attr, param|
|
159
|
+
value = self.send(attr)
|
160
|
+
next if value.nil?
|
161
|
+
hash[param] = _to_hash(value)
|
162
|
+
end
|
163
|
+
hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# Outputs non-array value in the form of hash
|
167
|
+
# For object, use to_hash. Otherwise, just return the value
|
168
|
+
# @param [Object] value Any valid value
|
169
|
+
# @return [Hash] Returns the value in the form of hash
|
170
|
+
def _to_hash(value)
|
171
|
+
if value.is_a?(Array)
|
172
|
+
value.compact.map { |v| _to_hash(v) }
|
173
|
+
elsif value.is_a?(Hash)
|
174
|
+
{}.tap do |hash|
|
175
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
176
|
+
end
|
177
|
+
elsif value.respond_to? :to_hash
|
178
|
+
value.to_hash
|
179
|
+
else
|
180
|
+
value
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
end
|
185
|
+
end
|
@@ -0,0 +1,194 @@
|
|
1
|
+
=begin
|
2
|
+
#Monitor API
|
3
|
+
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
|
+
|
6
|
+
OpenAPI spec version: v2.0
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_Monitor
|
15
|
+
class AggregateResultResult
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
attr_accessor :data
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'name' => :'name',
|
24
|
+
:'data' => :'data'
|
25
|
+
}
|
26
|
+
end
|
27
|
+
|
28
|
+
# Attribute type mapping.
|
29
|
+
def self.swagger_types
|
30
|
+
{
|
31
|
+
:'name' => :'String',
|
32
|
+
:'data' => :'Array<Object>'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Initializes the object
|
37
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
38
|
+
def initialize(attributes = {})
|
39
|
+
return unless attributes.is_a?(Hash)
|
40
|
+
|
41
|
+
# convert string to symbol for hash key
|
42
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
43
|
+
|
44
|
+
if attributes.has_key?(:'name')
|
45
|
+
self.name = attributes[:'name']
|
46
|
+
end
|
47
|
+
|
48
|
+
if attributes.has_key?(:'data')
|
49
|
+
if (value = attributes[:'data']).is_a?(Array)
|
50
|
+
self.data = value
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
56
|
+
# @return Array for valid properties with the reasons
|
57
|
+
def list_invalid_properties
|
58
|
+
invalid_properties = Array.new
|
59
|
+
invalid_properties
|
60
|
+
end
|
61
|
+
|
62
|
+
# Check to see if the all the properties in the model are valid
|
63
|
+
# @return true if the model is valid
|
64
|
+
def valid?
|
65
|
+
true
|
66
|
+
end
|
67
|
+
|
68
|
+
# Checks equality by comparing each attribute.
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def ==(o)
|
71
|
+
return true if self.equal?(o)
|
72
|
+
self.class == o.class &&
|
73
|
+
name == o.name &&
|
74
|
+
data == o.data
|
75
|
+
end
|
76
|
+
|
77
|
+
# @see the `==` method
|
78
|
+
# @param [Object] Object to be compared
|
79
|
+
def eql?(o)
|
80
|
+
self == o
|
81
|
+
end
|
82
|
+
|
83
|
+
# Calculates hash code according to all attributes.
|
84
|
+
# @return [Fixnum] Hash code
|
85
|
+
def hash
|
86
|
+
[name, data].hash
|
87
|
+
end
|
88
|
+
|
89
|
+
# Builds the object from hash
|
90
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
+
# @return [Object] Returns the model itself
|
92
|
+
def build_from_hash(attributes)
|
93
|
+
return nil unless attributes.is_a?(Hash)
|
94
|
+
self.class.swagger_types.each_pair do |key, type|
|
95
|
+
if type =~ /\AArray<(.*)>/i
|
96
|
+
# check to ensure the input is an array given that the attribute
|
97
|
+
# is documented as an array but the input is not
|
98
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
99
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
100
|
+
end
|
101
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
102
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
103
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
104
|
+
end
|
105
|
+
|
106
|
+
self
|
107
|
+
end
|
108
|
+
|
109
|
+
# Deserializes the data based on type
|
110
|
+
# @param string type Data type
|
111
|
+
# @param string value Value to be deserialized
|
112
|
+
# @return [Object] Deserialized data
|
113
|
+
def _deserialize(type, value)
|
114
|
+
case type.to_sym
|
115
|
+
when :DateTime
|
116
|
+
DateTime.parse(value)
|
117
|
+
when :Date
|
118
|
+
Date.parse(value)
|
119
|
+
when :String
|
120
|
+
value.to_s
|
121
|
+
when :Integer
|
122
|
+
value.to_i
|
123
|
+
when :Float
|
124
|
+
value.to_f
|
125
|
+
when :BOOLEAN
|
126
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
127
|
+
true
|
128
|
+
else
|
129
|
+
false
|
130
|
+
end
|
131
|
+
when :Object
|
132
|
+
# generic object (usually a Hash), return directly
|
133
|
+
value
|
134
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
135
|
+
inner_type = Regexp.last_match[:inner_type]
|
136
|
+
value.map { |v| _deserialize(inner_type, v) }
|
137
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
138
|
+
k_type = Regexp.last_match[:k_type]
|
139
|
+
v_type = Regexp.last_match[:v_type]
|
140
|
+
{}.tap do |hash|
|
141
|
+
value.each do |k, v|
|
142
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
else # model
|
146
|
+
temp_model = DocuSign_Monitor.const_get(type).new
|
147
|
+
temp_model.build_from_hash(value)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# Returns the string representation of the object
|
152
|
+
# @return [String] String presentation of the object
|
153
|
+
def to_s
|
154
|
+
to_hash.to_s
|
155
|
+
end
|
156
|
+
|
157
|
+
# to_body is an alias to to_hash (backward compatibility)
|
158
|
+
# @return [Hash] Returns the object in the form of hash
|
159
|
+
def to_body
|
160
|
+
to_hash
|
161
|
+
end
|
162
|
+
|
163
|
+
# Returns the object in the form of hash
|
164
|
+
# @return [Hash] Returns the object in the form of hash
|
165
|
+
def to_hash
|
166
|
+
hash = {}
|
167
|
+
self.class.attribute_map.each_pair do |attr, param|
|
168
|
+
value = self.send(attr)
|
169
|
+
next if value.nil?
|
170
|
+
hash[param] = _to_hash(value)
|
171
|
+
end
|
172
|
+
hash
|
173
|
+
end
|
174
|
+
|
175
|
+
# Outputs non-array value in the form of hash
|
176
|
+
# For object, use to_hash. Otherwise, just return the value
|
177
|
+
# @param [Object] value Any valid value
|
178
|
+
# @return [Hash] Returns the value in the form of hash
|
179
|
+
def _to_hash(value)
|
180
|
+
if value.is_a?(Array)
|
181
|
+
value.compact.map { |v| _to_hash(v) }
|
182
|
+
elsif value.is_a?(Hash)
|
183
|
+
{}.tap do |hash|
|
184
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
185
|
+
end
|
186
|
+
elsif value.respond_to? :to_hash
|
187
|
+
value.to_hash
|
188
|
+
else
|
189
|
+
value
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
end
|
194
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Monitor API
|
3
3
|
|
4
|
-
#
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
6
6
|
OpenAPI spec version: v2.0
|
7
7
|
Contact: devcenter@docusign.com
|
@@ -12,9 +12,12 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module DocuSign_Monitor
|
15
|
+
#
|
15
16
|
class CursoredResult
|
17
|
+
#
|
16
18
|
attr_accessor :end_cursor
|
17
19
|
|
20
|
+
#
|
18
21
|
attr_accessor :data
|
19
22
|
|
20
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -0,0 +1,197 @@
|
|
1
|
+
=begin
|
2
|
+
#Monitor API
|
3
|
+
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
|
+
|
6
|
+
OpenAPI spec version: v2.0
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_Monitor
|
15
|
+
# Methods to fetch organization event data.
|
16
|
+
class DataSet
|
17
|
+
#
|
18
|
+
attr_accessor :end_cursor
|
19
|
+
|
20
|
+
#
|
21
|
+
attr_accessor :data
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'end_cursor' => :'endCursor',
|
27
|
+
:'data' => :'data'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attribute type mapping.
|
32
|
+
def self.swagger_types
|
33
|
+
{
|
34
|
+
:'end_cursor' => :'String',
|
35
|
+
:'data' => :'Array<Object>'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Initializes the object
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
+
def initialize(attributes = {})
|
42
|
+
return unless attributes.is_a?(Hash)
|
43
|
+
|
44
|
+
# convert string to symbol for hash key
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
46
|
+
|
47
|
+
if attributes.has_key?(:'endCursor')
|
48
|
+
self.end_cursor = attributes[:'endCursor']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'data')
|
52
|
+
if (value = attributes[:'data']).is_a?(Array)
|
53
|
+
self.data = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
59
|
+
# @return Array for valid properties with the reasons
|
60
|
+
def list_invalid_properties
|
61
|
+
invalid_properties = Array.new
|
62
|
+
invalid_properties
|
63
|
+
end
|
64
|
+
|
65
|
+
# Check to see if the all the properties in the model are valid
|
66
|
+
# @return true if the model is valid
|
67
|
+
def valid?
|
68
|
+
true
|
69
|
+
end
|
70
|
+
|
71
|
+
# Checks equality by comparing each attribute.
|
72
|
+
# @param [Object] Object to be compared
|
73
|
+
def ==(o)
|
74
|
+
return true if self.equal?(o)
|
75
|
+
self.class == o.class &&
|
76
|
+
end_cursor == o.end_cursor &&
|
77
|
+
data == o.data
|
78
|
+
end
|
79
|
+
|
80
|
+
# @see the `==` method
|
81
|
+
# @param [Object] Object to be compared
|
82
|
+
def eql?(o)
|
83
|
+
self == o
|
84
|
+
end
|
85
|
+
|
86
|
+
# Calculates hash code according to all attributes.
|
87
|
+
# @return [Fixnum] Hash code
|
88
|
+
def hash
|
89
|
+
[end_cursor, data].hash
|
90
|
+
end
|
91
|
+
|
92
|
+
# Builds the object from hash
|
93
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
94
|
+
# @return [Object] Returns the model itself
|
95
|
+
def build_from_hash(attributes)
|
96
|
+
return nil unless attributes.is_a?(Hash)
|
97
|
+
self.class.swagger_types.each_pair do |key, type|
|
98
|
+
if type =~ /\AArray<(.*)>/i
|
99
|
+
# check to ensure the input is an array given that the attribute
|
100
|
+
# is documented as an array but the input is not
|
101
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
102
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
103
|
+
end
|
104
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
105
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
106
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
107
|
+
end
|
108
|
+
|
109
|
+
self
|
110
|
+
end
|
111
|
+
|
112
|
+
# Deserializes the data based on type
|
113
|
+
# @param string type Data type
|
114
|
+
# @param string value Value to be deserialized
|
115
|
+
# @return [Object] Deserialized data
|
116
|
+
def _deserialize(type, value)
|
117
|
+
case type.to_sym
|
118
|
+
when :DateTime
|
119
|
+
DateTime.parse(value)
|
120
|
+
when :Date
|
121
|
+
Date.parse(value)
|
122
|
+
when :String
|
123
|
+
value.to_s
|
124
|
+
when :Integer
|
125
|
+
value.to_i
|
126
|
+
when :Float
|
127
|
+
value.to_f
|
128
|
+
when :BOOLEAN
|
129
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
130
|
+
true
|
131
|
+
else
|
132
|
+
false
|
133
|
+
end
|
134
|
+
when :Object
|
135
|
+
# generic object (usually a Hash), return directly
|
136
|
+
value
|
137
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
138
|
+
inner_type = Regexp.last_match[:inner_type]
|
139
|
+
value.map { |v| _deserialize(inner_type, v) }
|
140
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
141
|
+
k_type = Regexp.last_match[:k_type]
|
142
|
+
v_type = Regexp.last_match[:v_type]
|
143
|
+
{}.tap do |hash|
|
144
|
+
value.each do |k, v|
|
145
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
else # model
|
149
|
+
temp_model = DocuSign_Monitor.const_get(type).new
|
150
|
+
temp_model.build_from_hash(value)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns the string representation of the object
|
155
|
+
# @return [String] String presentation of the object
|
156
|
+
def to_s
|
157
|
+
to_hash.to_s
|
158
|
+
end
|
159
|
+
|
160
|
+
# to_body is an alias to to_hash (backward compatibility)
|
161
|
+
# @return [Hash] Returns the object in the form of hash
|
162
|
+
def to_body
|
163
|
+
to_hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# Returns the object in the form of hash
|
167
|
+
# @return [Hash] Returns the object in the form of hash
|
168
|
+
def to_hash
|
169
|
+
hash = {}
|
170
|
+
self.class.attribute_map.each_pair do |attr, param|
|
171
|
+
value = self.send(attr)
|
172
|
+
next if value.nil?
|
173
|
+
hash[param] = _to_hash(value)
|
174
|
+
end
|
175
|
+
hash
|
176
|
+
end
|
177
|
+
|
178
|
+
# Outputs non-array value in the form of hash
|
179
|
+
# For object, use to_hash. Otherwise, just return the value
|
180
|
+
# @param [Object] value Any valid value
|
181
|
+
# @return [Hash] Returns the value in the form of hash
|
182
|
+
def _to_hash(value)
|
183
|
+
if value.is_a?(Array)
|
184
|
+
value.compact.map { |v| _to_hash(v) }
|
185
|
+
elsif value.is_a?(Hash)
|
186
|
+
{}.tap do |hash|
|
187
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
188
|
+
end
|
189
|
+
elsif value.respond_to? :to_hash
|
190
|
+
value.to_hash
|
191
|
+
else
|
192
|
+
value
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
end
|
197
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#Monitor API
|
3
3
|
|
4
4
|
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
@@ -56,8 +56,8 @@ module DocuSign_Monitor
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.swagger_types
|
58
58
|
{
|
59
|
-
:'filters' => :'Array<
|
60
|
-
:'aggregations' => :'Array<
|
59
|
+
:'filters' => :'Array<Object>',
|
60
|
+
:'aggregations' => :'Array<Object>',
|
61
61
|
:'query_scope' => :'String',
|
62
62
|
:'query_scope_id' => :'String'
|
63
63
|
}
|
@@ -102,7 +102,7 @@ module DocuSign_Monitor
|
|
102
102
|
# Check to see if the all the properties in the model are valid
|
103
103
|
# @return true if the model is valid
|
104
104
|
def valid?
|
105
|
-
query_scope_validator = EnumAttributeValidator.new('String', ['
|
105
|
+
query_scope_validator = EnumAttributeValidator.new('String', ['OrganizationId'])
|
106
106
|
return false unless query_scope_validator.valid?(@query_scope)
|
107
107
|
true
|
108
108
|
end
|
@@ -110,7 +110,7 @@ module DocuSign_Monitor
|
|
110
110
|
# Custom attribute writer method checking allowed values (enum).
|
111
111
|
# @param [Object] query_scope Object to be assigned
|
112
112
|
def query_scope=(query_scope)
|
113
|
-
validator = EnumAttributeValidator.new('String', ['
|
113
|
+
validator = EnumAttributeValidator.new('String', ['OrganizationId'])
|
114
114
|
unless validator.valid?(query_scope)
|
115
115
|
fail ArgumentError, 'invalid value for "query_scope", must be one of #{validator.allowable_values}.'
|
116
116
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Monitor API
|
3
3
|
|
4
|
-
#
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
6
6
|
OpenAPI spec version: v2.0
|
7
7
|
Contact: devcenter@docusign.com
|
@@ -10,5 +10,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
10
10
|
=end
|
11
11
|
|
12
12
|
module DocuSign_Monitor
|
13
|
-
VERSION = '1.
|
13
|
+
VERSION = '1.2.0'
|
14
14
|
end
|
data/lib/docusign_monitor.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Monitor API
|
3
3
|
|
4
|
-
#
|
4
|
+
#An API for an integrator to access the features of DocuSign Monitor
|
5
5
|
|
6
6
|
OpenAPI spec version: v2.0
|
7
7
|
Contact: devcenter@docusign.com
|
@@ -20,6 +20,7 @@ require 'docusign_monitor/client/auth/oauth'
|
|
20
20
|
|
21
21
|
# Models
|
22
22
|
require 'docusign_monitor/models/cursored_result'
|
23
|
+
require 'docusign_monitor/models/data_set'
|
23
24
|
|
24
25
|
# APIs
|
25
26
|
require 'docusign_monitor/api/data_set_api'
|
data/runLinter.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
./vendor/bundle/ruby/2.6.0/bin/rubocop -a
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docusign_monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocuSign
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -34,22 +34,22 @@ dependencies:
|
|
34
34
|
name: addressable
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.7.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '2.7'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.7.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.7.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '2.7'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.7.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: typhoeus
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,42 +74,82 @@ dependencies:
|
|
74
74
|
name: json
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - ">="
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 2.1.0
|
80
77
|
- - "~>"
|
81
78
|
- !ruby/object:Gem::Version
|
82
79
|
version: '2.1'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.1.0
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 2.1.0
|
90
87
|
- - "~>"
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: '2.1'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 2.1.0
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
|
-
name: rspec
|
94
|
+
name: rspec-mocks
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '3.8'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 3.8.0
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '3.8'
|
97
110
|
- - ">="
|
98
111
|
- !ruby/object:Gem::Version
|
99
|
-
version: 3.
|
112
|
+
version: 3.8.0
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rspec-expectations
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
100
117
|
- - "~>"
|
101
118
|
- !ruby/object:Gem::Version
|
102
|
-
version: '3.
|
119
|
+
version: '3.8'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 3.8.0
|
103
123
|
type: :development
|
104
124
|
prerelease: false
|
105
125
|
version_requirements: !ruby/object:Gem::Requirement
|
106
126
|
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '3.8'
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 3.8.0
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: rspec
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '3.4'
|
107
140
|
- - ">="
|
108
141
|
- !ruby/object:Gem::Version
|
109
|
-
version: 3.
|
142
|
+
version: 3.4.0
|
143
|
+
type: :development
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
110
147
|
- - "~>"
|
111
148
|
- !ruby/object:Gem::Version
|
112
|
-
version: '3.
|
149
|
+
version: '3.4'
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 3.4.0
|
113
153
|
- !ruby/object:Gem::Dependency
|
114
154
|
name: vcr
|
115
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,7 +259,7 @@ dependencies:
|
|
219
259
|
version: '0.2'
|
220
260
|
- - ">="
|
221
261
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.2.
|
262
|
+
version: 0.2.11
|
223
263
|
type: :development
|
224
264
|
prerelease: false
|
225
265
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -229,7 +269,7 @@ dependencies:
|
|
229
269
|
version: '0.2'
|
230
270
|
- - ">="
|
231
271
|
- !ruby/object:Gem::Version
|
232
|
-
version: 0.2.
|
272
|
+
version: 0.2.11
|
233
273
|
description: The DocuSign package makes integrating DocuSign into your apps and websites
|
234
274
|
a super fast and painless process. The library is open sourced on GitHub, look for
|
235
275
|
the docusign-monitor-ruby-client repository.
|
@@ -244,9 +284,6 @@ files:
|
|
244
284
|
- LICENSE
|
245
285
|
- README.md
|
246
286
|
- Rakefile
|
247
|
-
- docusign_monitor-1.0.0.beta1.gem
|
248
|
-
- docusign_monitor-1.0.0.pre.alpha.gem
|
249
|
-
- docusign_monitor-1.0.1.pre.alpha.gem
|
250
287
|
- docusign_monitor.gemspec
|
251
288
|
- git_push.sh
|
252
289
|
- lib/docusign_monitor.rb
|
@@ -255,16 +292,18 @@ files:
|
|
255
292
|
- lib/docusign_monitor/client/api_error.rb
|
256
293
|
- lib/docusign_monitor/client/auth/oauth.rb
|
257
294
|
- lib/docusign_monitor/configuration.rb
|
295
|
+
- lib/docusign_monitor/models/aggregate_result.rb
|
296
|
+
- lib/docusign_monitor/models/aggregate_result_result.rb
|
258
297
|
- lib/docusign_monitor/models/aggregation.rb
|
259
298
|
- lib/docusign_monitor/models/cursored_result.rb
|
299
|
+
- lib/docusign_monitor/models/data_set.rb
|
260
300
|
- lib/docusign_monitor/models/filter.rb
|
261
301
|
- lib/docusign_monitor/models/raw_request.rb
|
262
302
|
- lib/docusign_monitor/models/web_query.rb
|
263
303
|
- lib/docusign_monitor/version.rb
|
304
|
+
- runLinter.sh
|
264
305
|
- tests/Gemfile
|
265
|
-
- tests/Gemfile.lock
|
266
306
|
- tests/docs/Test.pdf
|
267
|
-
- tests/docs/private.pem
|
268
307
|
- tests/spec/unit_tests_using_jwt_spec.rb
|
269
308
|
homepage: https://github.com/docusign/docusign-monitor-ruby-client
|
270
309
|
licenses:
|
@@ -285,8 +324,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
285
324
|
- !ruby/object:Gem::Version
|
286
325
|
version: '0'
|
287
326
|
requirements: []
|
288
|
-
|
327
|
+
rubyforge_project:
|
328
|
+
rubygems_version: 2.7.6
|
289
329
|
signing_key:
|
290
330
|
specification_version: 4
|
291
|
-
summary:
|
331
|
+
summary: Monitor API Ruby Gem
|
292
332
|
test_files: []
|
Binary file
|
Binary file
|
Binary file
|
data/tests/Gemfile.lock
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
docusign_monitor (1.0.0)
|
5
|
-
addressable (~> 2.7, >= 2.7.0)
|
6
|
-
json (~> 2.1, >= 2.1.0)
|
7
|
-
jwt (~> 2.2, >= 2.2.1)
|
8
|
-
typhoeus (~> 1.0, >= 1.0.1)
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: https://rubygems.org/
|
12
|
-
specs:
|
13
|
-
addressable (2.7.0)
|
14
|
-
public_suffix (>= 2.0.2, < 5.0)
|
15
|
-
diff-lcs (1.4.4)
|
16
|
-
ethon (0.14.0)
|
17
|
-
ffi (>= 1.15.0)
|
18
|
-
ffi (1.15.1)
|
19
|
-
json (2.5.1)
|
20
|
-
jwt (2.2.3)
|
21
|
-
public_suffix (4.0.6)
|
22
|
-
rspec (3.9.0)
|
23
|
-
rspec-core (~> 3.9.0)
|
24
|
-
rspec-expectations (~> 3.9.0)
|
25
|
-
rspec-mocks (~> 3.9.0)
|
26
|
-
rspec-core (3.9.3)
|
27
|
-
rspec-support (~> 3.9.3)
|
28
|
-
rspec-expectations (3.9.3)
|
29
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.9.0)
|
31
|
-
rspec-mocks (3.9.1)
|
32
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.9.0)
|
34
|
-
rspec-support (3.9.4)
|
35
|
-
typhoeus (1.4.0)
|
36
|
-
ethon (>= 0.9.0)
|
37
|
-
|
38
|
-
PLATFORMS
|
39
|
-
ruby
|
40
|
-
|
41
|
-
DEPENDENCIES
|
42
|
-
docusign_monitor!
|
43
|
-
rspec
|
44
|
-
|
45
|
-
BUNDLED WITH
|
46
|
-
1.17.2
|
data/tests/docs/private.pem
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
-----BEGIN RSA PRIVATE KEY-----
|
2
|
-
MIIEogIBAAKCAQEAq1yUzw3owo+yIuBntG4EFPEaeJqemjdnIKu4JJB8Vm5LJRaX
|
3
|
-
68smh+pz2K0GtfqB3fiIaguw3NsVZ8v+carfxzoX58jeiITi6NDXK6i3Q+9tyCJp
|
4
|
-
rxcmTlyPIh1o+R9BaZAn7Uc0OIkkconrncRlDAjgRusBs79izJIqMHE+YG5uSCG+
|
5
|
-
TLDP+LtzzPK8A4rRB+/lDKoXM+O905KBSEJyZ2xGZOHY4SEWKH5vjA50syy6oGpM
|
6
|
-
Hpcpx4rrvRLfcmJDcSHvY1WT3GaPAOXnSoGzUDnwiOPdS1rcznH2nwrw+kPWxHwj
|
7
|
-
sE2O/jvELduVl8H/PPsW1wtyjnEt7B7Q9wrWcwIDAQABAoIBAAMpoHW5BJg+7Gm5
|
8
|
-
TZk1Wg4RKARhI32u3/KTi/PhVoKohPu4cvYBTVyL3z9WsJCvGkw3/W8yzcVtLnyN
|
9
|
-
uf90hJ0tA8RVBZbsXGWX/0GxwRxku3IGVm790rfDYwVp9nlobe7TsSOeZ6sO6jyw
|
10
|
-
h1kp3EiggqS9fgFIhbLgtmEnbm0VBfA/+8UNZQxJxzw0uZCVojEoFtbxyv3inHSu
|
11
|
-
clKGs3sDQ1RA2PDE3xyOR51a4RLAWuavQC1TdydS/QEnCmxJnZ1eQY+bjt+GnHOO
|
12
|
-
OPzgCKHu1TdJyPT57kU7FXMEkuuj5aG1i/UtZSNH+L386y6nPmo7b/mXyFgMil7r
|
13
|
-
lNaT81ECgYEA7/b0uotZEm3Gz1OwNYmQS8gNxAq1WtW225RCBxiEV+S7xslueCiG
|
14
|
-
nATBidwMI/8XbN8KvbmU2TNnndcsUNt9ta8ufX0GXQ0pjEXNL3ZfTKoZF0e/Bn3W
|
15
|
-
BqSV1YBlpE7B81M79mSVYbMScfzxCVjaU53JRDzYUYxPQNV+iMkYk8kCgYEAttAK
|
16
|
-
2ZKPozlWTP6GO1v3ekm+QwUftvJ43XyZ59Pzhegjm2hkIEbUuIPCVfuQIVCvfPIB
|
17
|
-
yAoTC+9i4rAPmCvYXoGYAx8l5YuwfiUh8ajTavzgrCk9u9/xOH2ypIxRnHzpe99t
|
18
|
-
V+kLEEuW+uLcN9+D10bP04qTHo+DIGh9Muj23lsCgYAkXqy2/VnRtju0vr1tT91D
|
19
|
-
7x1PAkR8cPnXDAB57NhaLfvb5DnPEm1chkgDKgvZBNe7E48gNFmAFg91V+CKnMnP
|
20
|
-
2K5WLLXjMpSCgy3XLLzC9OD6q1AjnrzqotVm16AQKDOzOoFTFemiNi7sgebSgNoO
|
21
|
-
ZFLV+dbbfUWh0Pntp3UHKQKBgF1/9DypUBusZK5Gc4MCm4WJF+2RPlJEm3q0ksbW
|
22
|
-
SbQQMb33W1aCw6OHiCqP2nyfltGxuSWFuY4eJpZIdAFhU22qnIPkN266zk8GUOEX
|
23
|
-
duI+ae7DvRZNCEPbTjYIqmj+HjDD6lnPEGCKOLMiun09LWI6jmrkcjBsOCWoK3iR
|
24
|
-
XEoHAoGAOSXO1kM6p0MZEhKxrVunF6HpW8aHRjcdcjjJJRFgap3hxCT1OZ9YB+SD
|
25
|
-
Prn+cjFJ7WSMrHpIRt56FZGUUgmp+97WqYsIuAJx56ETKdAVx6C7RuEtbJoqdTER
|
26
|
-
hS4vaGq+EWmjVc/pSMbBzZ99lpIEbyYBk2jD3GpCWgSd9CDrxGY=
|
27
|
-
-----END RSA PRIVATE KEY-----
|