pingram 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/pingram/api/email_api.rb +5 -5
- data/lib/pingram/api/registrations_api.rb +209 -0
- data/lib/pingram/api/user_api.rb +0 -133
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/client_wrapper.rb +10 -0
- data/lib/pingram/models/account_get_response.rb +26 -4
- data/lib/pingram/models/billing_post_response_body.rb +23 -1
- data/lib/pingram/models/logs_get_response_logs_inner.rb +10 -10
- data/lib/pingram/models/ten_dlc_brand_admin_update_request.rb +378 -0
- data/lib/pingram/models/ten_dlc_brand_create_request.rb +41 -10
- data/lib/pingram/models/ten_dlc_brand_registration_details.rb +1 -0
- data/lib/pingram/models/ten_dlc_brand_update_request.rb +24 -38
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/cache/psych-5.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/mkmf.log +3 -3
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{psych-5.4.0 → psych-5.5.0}/gem_make.out +10 -10
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/README.md +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/extconf.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych/psych.c +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych.h +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_emitter.c +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_parser.c +79 -18
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/class_loader.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/parser.rb +40 -1
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/scalar_scanner.rb +15 -3
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/versions.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/to_ruby.rb +20 -9
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/yaml_tree.rb +0 -3
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{psych-5.4.0.gemspec → psych-5.5.0.gemspec} +2 -2
- metadata +64 -64
- data/lib/pingram/models/delete_email_suppressions_response.rb +0 -192
- data/lib/pingram/models/slack_oauth_request.rb +0 -190
- data/vendor/bundle/ruby/3.2.0/cache/psych-5.4.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych.c +0 -36
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych.so +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{psych-5.4.0 → psych-5.5.0}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{psych-5.4.0 → psych-5.5.0}/mkmf.log +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/CONTRIBUTING.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/Makefile +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/depend +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_emitter.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_parser.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_to_ruby.c +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_to_ruby.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_yaml_tree.c +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_yaml_tree.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/coder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/core_ext.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/exception.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/handler.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/handlers/document_stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/handlers/recorder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/ruby_events.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/tree_builder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/yaml_events.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/alias.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/document.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/mapping.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/node.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/scalar.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/sequence.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/omap.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/set.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/streaming.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/tree_builder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/depth_first.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/emitter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/json_tree.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/visitor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/y.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych.rb +0 -0
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Pingram
|
|
3
|
-
|
|
4
|
-
#Internal API for notification delivery and management
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.19.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'date'
|
|
14
|
-
require 'time'
|
|
15
|
-
|
|
16
|
-
module Pingram
|
|
17
|
-
class DeleteEmailSuppressionsResponse < ApiModelBase
|
|
18
|
-
# Number of users whose email suppression was removed.
|
|
19
|
-
attr_accessor :removed
|
|
20
|
-
|
|
21
|
-
# Number of suppressed users that did not match the requested reason.
|
|
22
|
-
attr_accessor :skipped
|
|
23
|
-
|
|
24
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
-
def self.attribute_map
|
|
26
|
-
{
|
|
27
|
-
:'removed' => :'removed',
|
|
28
|
-
:'skipped' => :'skipped'
|
|
29
|
-
}
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
# Returns attribute mapping this model knows about
|
|
33
|
-
def self.acceptable_attribute_map
|
|
34
|
-
attribute_map
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
# Returns all the JSON keys this model knows about
|
|
38
|
-
def self.acceptable_attributes
|
|
39
|
-
acceptable_attribute_map.values
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
# Attribute type mapping.
|
|
43
|
-
def self.openapi_types
|
|
44
|
-
{
|
|
45
|
-
:'removed' => :'Float',
|
|
46
|
-
:'skipped' => :'Float'
|
|
47
|
-
}
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
# List of attributes with nullable: true
|
|
51
|
-
def self.openapi_nullable
|
|
52
|
-
Set.new([
|
|
53
|
-
])
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
# Initializes the object
|
|
57
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
|
-
def initialize(attributes = {})
|
|
59
|
-
if (!attributes.is_a?(Hash))
|
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::DeleteEmailSuppressionsResponse` initialize method"
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
-
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::DeleteEmailSuppressionsResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
|
-
end
|
|
69
|
-
h[k.to_sym] = v
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if attributes.key?(:'removed')
|
|
73
|
-
self.removed = attributes[:'removed']
|
|
74
|
-
else
|
|
75
|
-
self.removed = nil
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
if attributes.key?(:'skipped')
|
|
79
|
-
self.skipped = attributes[:'skipped']
|
|
80
|
-
else
|
|
81
|
-
self.skipped = nil
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
|
86
|
-
# @return Array for valid properties with the reasons
|
|
87
|
-
def list_invalid_properties
|
|
88
|
-
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
|
-
invalid_properties = Array.new
|
|
90
|
-
if @removed.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "removed", removed cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @skipped.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "skipped", skipped cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
invalid_properties
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
# Check to see if the all the properties in the model are valid
|
|
102
|
-
# @return true if the model is valid
|
|
103
|
-
def valid?
|
|
104
|
-
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @removed.nil?
|
|
106
|
-
return false if @skipped.nil?
|
|
107
|
-
true
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] removed Value to be assigned
|
|
112
|
-
def removed=(removed)
|
|
113
|
-
if removed.nil?
|
|
114
|
-
fail ArgumentError, 'removed cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@removed = removed
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] skipped Value to be assigned
|
|
122
|
-
def skipped=(skipped)
|
|
123
|
-
if skipped.nil?
|
|
124
|
-
fail ArgumentError, 'skipped cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@skipped = skipped
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
# Checks equality by comparing each attribute.
|
|
131
|
-
# @param [Object] Object to be compared
|
|
132
|
-
def ==(o)
|
|
133
|
-
return true if self.equal?(o)
|
|
134
|
-
self.class == o.class &&
|
|
135
|
-
removed == o.removed &&
|
|
136
|
-
skipped == o.skipped
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
# @see the `==` method
|
|
140
|
-
# @param [Object] Object to be compared
|
|
141
|
-
def eql?(o)
|
|
142
|
-
self == o
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
# Calculates hash code according to all attributes.
|
|
146
|
-
# @return [Integer] Hash code
|
|
147
|
-
def hash
|
|
148
|
-
[removed, skipped].hash
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
# Builds the object from hash
|
|
152
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
153
|
-
# @return [Object] Returns the model itself
|
|
154
|
-
def self.build_from_hash(attributes)
|
|
155
|
-
return nil unless attributes.is_a?(Hash)
|
|
156
|
-
attributes = attributes.transform_keys(&:to_sym)
|
|
157
|
-
transformed_hash = {}
|
|
158
|
-
openapi_types.each_pair do |key, type|
|
|
159
|
-
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
160
|
-
transformed_hash["#{key}"] = nil
|
|
161
|
-
elsif type =~ /\AArray<(.*)>/i
|
|
162
|
-
# check to ensure the input is an array given that the attribute
|
|
163
|
-
# is documented as an array but the input is not
|
|
164
|
-
if attributes[attribute_map[key]].is_a?(Array)
|
|
165
|
-
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
166
|
-
end
|
|
167
|
-
elsif !attributes[attribute_map[key]].nil?
|
|
168
|
-
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
169
|
-
end
|
|
170
|
-
end
|
|
171
|
-
new(transformed_hash)
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
# Returns the object in the form of hash
|
|
175
|
-
# @return [Hash] Returns the object in the form of hash
|
|
176
|
-
def to_hash
|
|
177
|
-
hash = {}
|
|
178
|
-
self.class.attribute_map.each_pair do |attr, param|
|
|
179
|
-
value = self.send(attr)
|
|
180
|
-
if value.nil?
|
|
181
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
182
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
hash[param] = _to_hash(value)
|
|
186
|
-
end
|
|
187
|
-
hash
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
end
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Pingram
|
|
3
|
-
|
|
4
|
-
#Internal API for notification delivery and management
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.19.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'date'
|
|
14
|
-
require 'time'
|
|
15
|
-
|
|
16
|
-
module Pingram
|
|
17
|
-
class SlackOauthRequest < ApiModelBase
|
|
18
|
-
attr_accessor :code
|
|
19
|
-
|
|
20
|
-
attr_accessor :redirect_uri
|
|
21
|
-
|
|
22
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
-
def self.attribute_map
|
|
24
|
-
{
|
|
25
|
-
:'code' => :'code',
|
|
26
|
-
:'redirect_uri' => :'redirect_uri'
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
# Returns attribute mapping this model knows about
|
|
31
|
-
def self.acceptable_attribute_map
|
|
32
|
-
attribute_map
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# Returns all the JSON keys this model knows about
|
|
36
|
-
def self.acceptable_attributes
|
|
37
|
-
acceptable_attribute_map.values
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
# Attribute type mapping.
|
|
41
|
-
def self.openapi_types
|
|
42
|
-
{
|
|
43
|
-
:'code' => :'String',
|
|
44
|
-
:'redirect_uri' => :'String'
|
|
45
|
-
}
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
# List of attributes with nullable: true
|
|
49
|
-
def self.openapi_nullable
|
|
50
|
-
Set.new([
|
|
51
|
-
])
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
# Initializes the object
|
|
55
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
|
-
def initialize(attributes = {})
|
|
57
|
-
if (!attributes.is_a?(Hash))
|
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::SlackOauthRequest` initialize method"
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
|
62
|
-
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
63
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
64
|
-
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
65
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::SlackOauthRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
66
|
-
end
|
|
67
|
-
h[k.to_sym] = v
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
if attributes.key?(:'code')
|
|
71
|
-
self.code = attributes[:'code']
|
|
72
|
-
else
|
|
73
|
-
self.code = nil
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
if attributes.key?(:'redirect_uri')
|
|
77
|
-
self.redirect_uri = attributes[:'redirect_uri']
|
|
78
|
-
else
|
|
79
|
-
self.redirect_uri = nil
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
|
84
|
-
# @return Array for valid properties with the reasons
|
|
85
|
-
def list_invalid_properties
|
|
86
|
-
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
87
|
-
invalid_properties = Array.new
|
|
88
|
-
if @code.nil?
|
|
89
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
if @redirect_uri.nil?
|
|
93
|
-
invalid_properties.push('invalid value for "redirect_uri", redirect_uri cannot be nil.')
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
invalid_properties
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
# Check to see if the all the properties in the model are valid
|
|
100
|
-
# @return true if the model is valid
|
|
101
|
-
def valid?
|
|
102
|
-
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
103
|
-
return false if @code.nil?
|
|
104
|
-
return false if @redirect_uri.nil?
|
|
105
|
-
true
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
# Custom attribute writer method with validation
|
|
109
|
-
# @param [Object] code Value to be assigned
|
|
110
|
-
def code=(code)
|
|
111
|
-
if code.nil?
|
|
112
|
-
fail ArgumentError, 'code cannot be nil'
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
@code = code
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
# Custom attribute writer method with validation
|
|
119
|
-
# @param [Object] redirect_uri Value to be assigned
|
|
120
|
-
def redirect_uri=(redirect_uri)
|
|
121
|
-
if redirect_uri.nil?
|
|
122
|
-
fail ArgumentError, 'redirect_uri cannot be nil'
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
@redirect_uri = redirect_uri
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
# Checks equality by comparing each attribute.
|
|
129
|
-
# @param [Object] Object to be compared
|
|
130
|
-
def ==(o)
|
|
131
|
-
return true if self.equal?(o)
|
|
132
|
-
self.class == o.class &&
|
|
133
|
-
code == o.code &&
|
|
134
|
-
redirect_uri == o.redirect_uri
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# @see the `==` method
|
|
138
|
-
# @param [Object] Object to be compared
|
|
139
|
-
def eql?(o)
|
|
140
|
-
self == o
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
# Calculates hash code according to all attributes.
|
|
144
|
-
# @return [Integer] Hash code
|
|
145
|
-
def hash
|
|
146
|
-
[code, redirect_uri].hash
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
# Builds the object from hash
|
|
150
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
151
|
-
# @return [Object] Returns the model itself
|
|
152
|
-
def self.build_from_hash(attributes)
|
|
153
|
-
return nil unless attributes.is_a?(Hash)
|
|
154
|
-
attributes = attributes.transform_keys(&:to_sym)
|
|
155
|
-
transformed_hash = {}
|
|
156
|
-
openapi_types.each_pair do |key, type|
|
|
157
|
-
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
158
|
-
transformed_hash["#{key}"] = nil
|
|
159
|
-
elsif type =~ /\AArray<(.*)>/i
|
|
160
|
-
# check to ensure the input is an array given that the attribute
|
|
161
|
-
# is documented as an array but the input is not
|
|
162
|
-
if attributes[attribute_map[key]].is_a?(Array)
|
|
163
|
-
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
164
|
-
end
|
|
165
|
-
elsif !attributes[attribute_map[key]].nil?
|
|
166
|
-
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
167
|
-
end
|
|
168
|
-
end
|
|
169
|
-
new(transformed_hash)
|
|
170
|
-
end
|
|
171
|
-
|
|
172
|
-
# Returns the object in the form of hash
|
|
173
|
-
# @return [Hash] Returns the object in the form of hash
|
|
174
|
-
def to_hash
|
|
175
|
-
hash = {}
|
|
176
|
-
self.class.attribute_map.each_pair do |attr, param|
|
|
177
|
-
value = self.send(attr)
|
|
178
|
-
if value.nil?
|
|
179
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
180
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
hash[param] = _to_hash(value)
|
|
184
|
-
end
|
|
185
|
-
hash
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
end
|
|
Binary file
|
|
Binary file
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
#include <psych.h>
|
|
2
|
-
|
|
3
|
-
/* call-seq: Psych.libyaml_version
|
|
4
|
-
*
|
|
5
|
-
* Returns the version of libyaml being used
|
|
6
|
-
*/
|
|
7
|
-
static VALUE libyaml_version(VALUE module)
|
|
8
|
-
{
|
|
9
|
-
int major, minor, patch;
|
|
10
|
-
VALUE list[3];
|
|
11
|
-
|
|
12
|
-
yaml_get_version(&major, &minor, &patch);
|
|
13
|
-
|
|
14
|
-
list[0] = INT2NUM(major);
|
|
15
|
-
list[1] = INT2NUM(minor);
|
|
16
|
-
list[2] = INT2NUM(patch);
|
|
17
|
-
|
|
18
|
-
return rb_ary_new4((long)3, list);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
VALUE mPsych;
|
|
22
|
-
|
|
23
|
-
void Init_psych(void)
|
|
24
|
-
{
|
|
25
|
-
#ifdef HAVE_RB_EXT_RACTOR_SAFE
|
|
26
|
-
RB_EXT_RACTOR_SAFE(true);
|
|
27
|
-
#endif
|
|
28
|
-
mPsych = rb_define_module("Psych");
|
|
29
|
-
|
|
30
|
-
rb_define_singleton_method(mPsych, "libyaml_version", libyaml_version, 0);
|
|
31
|
-
|
|
32
|
-
Init_psych_parser();
|
|
33
|
-
Init_psych_emitter();
|
|
34
|
-
Init_psych_to_ruby();
|
|
35
|
-
Init_psych_yaml_tree();
|
|
36
|
-
}
|
|
Binary file
|
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{psych-5.4.0 → psych-5.5.0}/mkmf.log
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/handlers/recorder.rb
RENAMED
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/ruby_events.rb
RENAMED
|
File without changes
|
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/tree_builder.rb
RENAMED
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/yaml_events.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/depth_first.rb
RENAMED
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/emitter.rb
RENAMED
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/json_tree.rb
RENAMED
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/visitor.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|