ultracart_api 3.1.47 → 3.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +201 -201
- data/README.md +25 -7
- data/docs/AutoOrderQuery.md +3 -1
- data/docs/CustomerApi.md +92 -92
- data/docs/IntegrationLog.md +25 -0
- data/docs/IntegrationLogApi.md +178 -0
- data/docs/IntegrationLogFile.md +11 -0
- data/docs/IntegrationLogLog.md +9 -0
- data/docs/IntegrationLogQueryFilterValues.md +17 -0
- data/docs/IntegrationLogQueryRequest.md +20 -0
- data/docs/IntegrationLogQueryResponse.md +13 -0
- data/docs/IntegrationLogResponse.md +12 -0
- data/docs/ScreenRecordingHeatmap.md +12 -0
- data/docs/ScreenRecordingHeatmapRequest.md +1 -0
- data/docs/StorefrontApi.md +52 -52
- data/lib/ultracart_api.rb +8 -0
- data/lib/ultracart_api/api/customer_api.rb +98 -98
- data/lib/ultracart_api/api/integration_log_api.rb +228 -0
- data/lib/ultracart_api/api/storefront_api.rb +52 -52
- data/lib/ultracart_api/models/auto_order_query.rb +22 -2
- data/lib/ultracart_api/models/integration_log.rb +343 -0
- data/lib/ultracart_api/models/integration_log_file.rb +211 -0
- data/lib/ultracart_api/models/integration_log_log.rb +193 -0
- data/lib/ultracart_api/models/integration_log_query_filter_values.rb +285 -0
- data/lib/ultracart_api/models/integration_log_query_request.rb +298 -0
- data/lib/ultracart_api/models/integration_log_query_response.rb +232 -0
- data/lib/ultracart_api/models/integration_log_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_heatmap.rb +109 -1
- data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +12 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +18 -2
@@ -0,0 +1,221 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class IntegrationLogResponse
|
17
|
+
attr_accessor :error
|
18
|
+
|
19
|
+
attr_accessor :integration_log
|
20
|
+
|
21
|
+
attr_accessor :metadata
|
22
|
+
|
23
|
+
# Indicates if API call was successful
|
24
|
+
attr_accessor :success
|
25
|
+
|
26
|
+
attr_accessor :warning
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'error' => :'error',
|
32
|
+
:'integration_log' => :'integration_log',
|
33
|
+
:'metadata' => :'metadata',
|
34
|
+
:'success' => :'success',
|
35
|
+
:'warning' => :'warning'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
def self.swagger_types
|
41
|
+
{
|
42
|
+
:'error' => :'Error',
|
43
|
+
:'integration_log' => :'IntegrationLog',
|
44
|
+
:'metadata' => :'ResponseMetadata',
|
45
|
+
:'success' => :'BOOLEAN',
|
46
|
+
:'warning' => :'Warning'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
return unless attributes.is_a?(Hash)
|
54
|
+
|
55
|
+
# convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
57
|
+
|
58
|
+
if attributes.has_key?(:'error')
|
59
|
+
self.error = attributes[:'error']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.has_key?(:'integration_log')
|
63
|
+
self.integration_log = attributes[:'integration_log']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes.has_key?(:'metadata')
|
67
|
+
self.metadata = attributes[:'metadata']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.has_key?(:'success')
|
71
|
+
self.success = attributes[:'success']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.has_key?(:'warning')
|
75
|
+
self.warning = attributes[:'warning']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
80
|
+
# @return Array for valid properties with the reasons
|
81
|
+
def list_invalid_properties
|
82
|
+
invalid_properties = Array.new
|
83
|
+
invalid_properties
|
84
|
+
end
|
85
|
+
|
86
|
+
# Check to see if the all the properties in the model are valid
|
87
|
+
# @return true if the model is valid
|
88
|
+
def valid?
|
89
|
+
true
|
90
|
+
end
|
91
|
+
|
92
|
+
# Checks equality by comparing each attribute.
|
93
|
+
# @param [Object] Object to be compared
|
94
|
+
def ==(o)
|
95
|
+
return true if self.equal?(o)
|
96
|
+
self.class == o.class &&
|
97
|
+
error == o.error &&
|
98
|
+
integration_log == o.integration_log &&
|
99
|
+
metadata == o.metadata &&
|
100
|
+
success == o.success &&
|
101
|
+
warning == o.warning
|
102
|
+
end
|
103
|
+
|
104
|
+
# @see the `==` method
|
105
|
+
# @param [Object] Object to be compared
|
106
|
+
def eql?(o)
|
107
|
+
self == o
|
108
|
+
end
|
109
|
+
|
110
|
+
# Calculates hash code according to all attributes.
|
111
|
+
# @return [Fixnum] Hash code
|
112
|
+
def hash
|
113
|
+
[error, integration_log, metadata, success, warning].hash
|
114
|
+
end
|
115
|
+
|
116
|
+
# Builds the object from hash
|
117
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
118
|
+
# @return [Object] Returns the model itself
|
119
|
+
def build_from_hash(attributes)
|
120
|
+
return nil unless attributes.is_a?(Hash)
|
121
|
+
self.class.swagger_types.each_pair do |key, type|
|
122
|
+
if type =~ /\AArray<(.*)>/i
|
123
|
+
# check to ensure the input is an array given that the attribute
|
124
|
+
# is documented as an array but the input is not
|
125
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
126
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
127
|
+
end
|
128
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
129
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
130
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
131
|
+
end
|
132
|
+
|
133
|
+
self
|
134
|
+
end
|
135
|
+
|
136
|
+
# Deserializes the data based on type
|
137
|
+
# @param string type Data type
|
138
|
+
# @param string value Value to be deserialized
|
139
|
+
# @return [Object] Deserialized data
|
140
|
+
def _deserialize(type, value)
|
141
|
+
case type.to_sym
|
142
|
+
when :DateTime
|
143
|
+
DateTime.parse(value)
|
144
|
+
when :Date
|
145
|
+
Date.parse(value)
|
146
|
+
when :String
|
147
|
+
value.to_s
|
148
|
+
when :Integer
|
149
|
+
value.to_i
|
150
|
+
when :Float
|
151
|
+
value.to_f
|
152
|
+
when :BOOLEAN
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
154
|
+
true
|
155
|
+
else
|
156
|
+
false
|
157
|
+
end
|
158
|
+
when :Object
|
159
|
+
# generic object (usually a Hash), return directly
|
160
|
+
value
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
167
|
+
{}.tap do |hash|
|
168
|
+
value.each do |k, v|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
else # model
|
173
|
+
temp_model = UltracartClient.const_get(type).new
|
174
|
+
temp_model.build_from_hash(value)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the string representation of the object
|
179
|
+
# @return [String] String presentation of the object
|
180
|
+
def to_s
|
181
|
+
to_hash.to_s
|
182
|
+
end
|
183
|
+
|
184
|
+
# to_body is an alias to to_hash (backward compatibility)
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
186
|
+
def to_body
|
187
|
+
to_hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the object in the form of hash
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_hash
|
193
|
+
hash = {}
|
194
|
+
self.class.attribute_map.each_pair do |attr, param|
|
195
|
+
value = self.send(attr)
|
196
|
+
next if value.nil?
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Outputs non-array value in the form of hash
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
204
|
+
# @param [Object] value Any valid value
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
206
|
+
def _to_hash(value)
|
207
|
+
if value.is_a?(Array)
|
208
|
+
value.compact.map { |v| _to_hash(v) }
|
209
|
+
elsif value.is_a?(Hash)
|
210
|
+
{}.tap do |hash|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
212
|
+
end
|
213
|
+
elsif value.respond_to? :to_hash
|
214
|
+
value.to_hash
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
end
|
221
|
+
end
|
@@ -14,44 +14,80 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ScreenRecordingHeatmap
|
17
|
+
attr_accessor :large_click_thumbnail_url
|
18
|
+
|
17
19
|
attr_accessor :large_click_url
|
18
20
|
|
21
|
+
attr_accessor :large_movement_thumbnail_url
|
22
|
+
|
19
23
|
attr_accessor :large_movement_url
|
20
24
|
|
25
|
+
attr_accessor :large_regular_thumbnail_url
|
26
|
+
|
21
27
|
attr_accessor :large_regular_url
|
22
28
|
|
29
|
+
attr_accessor :large_scroll_thumbnail_url
|
30
|
+
|
23
31
|
attr_accessor :large_scroll_url
|
24
32
|
|
33
|
+
attr_accessor :medium_click_thumbnail_url
|
34
|
+
|
25
35
|
attr_accessor :medium_click_url
|
26
36
|
|
37
|
+
attr_accessor :medium_movement_thumbnail_url
|
38
|
+
|
27
39
|
attr_accessor :medium_movement_url
|
28
40
|
|
41
|
+
attr_accessor :medium_regular_thumbnail_url
|
42
|
+
|
29
43
|
attr_accessor :medium_regular_url
|
30
44
|
|
45
|
+
attr_accessor :medium_scroll_thumbnail_url
|
46
|
+
|
31
47
|
attr_accessor :medium_scroll_url
|
32
48
|
|
49
|
+
attr_accessor :small_click_thumbnail_url
|
50
|
+
|
33
51
|
attr_accessor :small_click_url
|
34
52
|
|
53
|
+
attr_accessor :small_movement_thumbnail_url
|
54
|
+
|
35
55
|
attr_accessor :small_movement_url
|
36
56
|
|
57
|
+
attr_accessor :small_regular_thumbnail_url
|
58
|
+
|
37
59
|
attr_accessor :small_regular_url
|
38
60
|
|
61
|
+
attr_accessor :small_scroll_thumbnail_url
|
62
|
+
|
39
63
|
attr_accessor :small_scroll_url
|
40
64
|
|
41
65
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
66
|
def self.attribute_map
|
43
67
|
{
|
68
|
+
:'large_click_thumbnail_url' => :'large_click_thumbnail_url',
|
44
69
|
:'large_click_url' => :'large_click_url',
|
70
|
+
:'large_movement_thumbnail_url' => :'large_movement_thumbnail_url',
|
45
71
|
:'large_movement_url' => :'large_movement_url',
|
72
|
+
:'large_regular_thumbnail_url' => :'large_regular_thumbnail_url',
|
46
73
|
:'large_regular_url' => :'large_regular_url',
|
74
|
+
:'large_scroll_thumbnail_url' => :'large_scroll_thumbnail_url',
|
47
75
|
:'large_scroll_url' => :'large_scroll_url',
|
76
|
+
:'medium_click_thumbnail_url' => :'medium_click_thumbnail_url',
|
48
77
|
:'medium_click_url' => :'medium_click_url',
|
78
|
+
:'medium_movement_thumbnail_url' => :'medium_movement_thumbnail_url',
|
49
79
|
:'medium_movement_url' => :'medium_movement_url',
|
80
|
+
:'medium_regular_thumbnail_url' => :'medium_regular_thumbnail_url',
|
50
81
|
:'medium_regular_url' => :'medium_regular_url',
|
82
|
+
:'medium_scroll_thumbnail_url' => :'medium_scroll_thumbnail_url',
|
51
83
|
:'medium_scroll_url' => :'medium_scroll_url',
|
84
|
+
:'small_click_thumbnail_url' => :'small_click_thumbnail_url',
|
52
85
|
:'small_click_url' => :'small_click_url',
|
86
|
+
:'small_movement_thumbnail_url' => :'small_movement_thumbnail_url',
|
53
87
|
:'small_movement_url' => :'small_movement_url',
|
88
|
+
:'small_regular_thumbnail_url' => :'small_regular_thumbnail_url',
|
54
89
|
:'small_regular_url' => :'small_regular_url',
|
90
|
+
:'small_scroll_thumbnail_url' => :'small_scroll_thumbnail_url',
|
55
91
|
:'small_scroll_url' => :'small_scroll_url'
|
56
92
|
}
|
57
93
|
end
|
@@ -59,17 +95,29 @@ module UltracartClient
|
|
59
95
|
# Attribute type mapping.
|
60
96
|
def self.swagger_types
|
61
97
|
{
|
98
|
+
:'large_click_thumbnail_url' => :'String',
|
62
99
|
:'large_click_url' => :'String',
|
100
|
+
:'large_movement_thumbnail_url' => :'String',
|
63
101
|
:'large_movement_url' => :'String',
|
102
|
+
:'large_regular_thumbnail_url' => :'String',
|
64
103
|
:'large_regular_url' => :'String',
|
104
|
+
:'large_scroll_thumbnail_url' => :'String',
|
65
105
|
:'large_scroll_url' => :'String',
|
106
|
+
:'medium_click_thumbnail_url' => :'String',
|
66
107
|
:'medium_click_url' => :'String',
|
108
|
+
:'medium_movement_thumbnail_url' => :'String',
|
67
109
|
:'medium_movement_url' => :'String',
|
110
|
+
:'medium_regular_thumbnail_url' => :'String',
|
68
111
|
:'medium_regular_url' => :'String',
|
112
|
+
:'medium_scroll_thumbnail_url' => :'String',
|
69
113
|
:'medium_scroll_url' => :'String',
|
114
|
+
:'small_click_thumbnail_url' => :'String',
|
70
115
|
:'small_click_url' => :'String',
|
116
|
+
:'small_movement_thumbnail_url' => :'String',
|
71
117
|
:'small_movement_url' => :'String',
|
118
|
+
:'small_regular_thumbnail_url' => :'String',
|
72
119
|
:'small_regular_url' => :'String',
|
120
|
+
:'small_scroll_thumbnail_url' => :'String',
|
73
121
|
:'small_scroll_url' => :'String'
|
74
122
|
}
|
75
123
|
end
|
@@ -82,50 +130,98 @@ module UltracartClient
|
|
82
130
|
# convert string to symbol for hash key
|
83
131
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
84
132
|
|
133
|
+
if attributes.has_key?(:'large_click_thumbnail_url')
|
134
|
+
self.large_click_thumbnail_url = attributes[:'large_click_thumbnail_url']
|
135
|
+
end
|
136
|
+
|
85
137
|
if attributes.has_key?(:'large_click_url')
|
86
138
|
self.large_click_url = attributes[:'large_click_url']
|
87
139
|
end
|
88
140
|
|
141
|
+
if attributes.has_key?(:'large_movement_thumbnail_url')
|
142
|
+
self.large_movement_thumbnail_url = attributes[:'large_movement_thumbnail_url']
|
143
|
+
end
|
144
|
+
|
89
145
|
if attributes.has_key?(:'large_movement_url')
|
90
146
|
self.large_movement_url = attributes[:'large_movement_url']
|
91
147
|
end
|
92
148
|
|
149
|
+
if attributes.has_key?(:'large_regular_thumbnail_url')
|
150
|
+
self.large_regular_thumbnail_url = attributes[:'large_regular_thumbnail_url']
|
151
|
+
end
|
152
|
+
|
93
153
|
if attributes.has_key?(:'large_regular_url')
|
94
154
|
self.large_regular_url = attributes[:'large_regular_url']
|
95
155
|
end
|
96
156
|
|
157
|
+
if attributes.has_key?(:'large_scroll_thumbnail_url')
|
158
|
+
self.large_scroll_thumbnail_url = attributes[:'large_scroll_thumbnail_url']
|
159
|
+
end
|
160
|
+
|
97
161
|
if attributes.has_key?(:'large_scroll_url')
|
98
162
|
self.large_scroll_url = attributes[:'large_scroll_url']
|
99
163
|
end
|
100
164
|
|
165
|
+
if attributes.has_key?(:'medium_click_thumbnail_url')
|
166
|
+
self.medium_click_thumbnail_url = attributes[:'medium_click_thumbnail_url']
|
167
|
+
end
|
168
|
+
|
101
169
|
if attributes.has_key?(:'medium_click_url')
|
102
170
|
self.medium_click_url = attributes[:'medium_click_url']
|
103
171
|
end
|
104
172
|
|
173
|
+
if attributes.has_key?(:'medium_movement_thumbnail_url')
|
174
|
+
self.medium_movement_thumbnail_url = attributes[:'medium_movement_thumbnail_url']
|
175
|
+
end
|
176
|
+
|
105
177
|
if attributes.has_key?(:'medium_movement_url')
|
106
178
|
self.medium_movement_url = attributes[:'medium_movement_url']
|
107
179
|
end
|
108
180
|
|
181
|
+
if attributes.has_key?(:'medium_regular_thumbnail_url')
|
182
|
+
self.medium_regular_thumbnail_url = attributes[:'medium_regular_thumbnail_url']
|
183
|
+
end
|
184
|
+
|
109
185
|
if attributes.has_key?(:'medium_regular_url')
|
110
186
|
self.medium_regular_url = attributes[:'medium_regular_url']
|
111
187
|
end
|
112
188
|
|
189
|
+
if attributes.has_key?(:'medium_scroll_thumbnail_url')
|
190
|
+
self.medium_scroll_thumbnail_url = attributes[:'medium_scroll_thumbnail_url']
|
191
|
+
end
|
192
|
+
|
113
193
|
if attributes.has_key?(:'medium_scroll_url')
|
114
194
|
self.medium_scroll_url = attributes[:'medium_scroll_url']
|
115
195
|
end
|
116
196
|
|
197
|
+
if attributes.has_key?(:'small_click_thumbnail_url')
|
198
|
+
self.small_click_thumbnail_url = attributes[:'small_click_thumbnail_url']
|
199
|
+
end
|
200
|
+
|
117
201
|
if attributes.has_key?(:'small_click_url')
|
118
202
|
self.small_click_url = attributes[:'small_click_url']
|
119
203
|
end
|
120
204
|
|
205
|
+
if attributes.has_key?(:'small_movement_thumbnail_url')
|
206
|
+
self.small_movement_thumbnail_url = attributes[:'small_movement_thumbnail_url']
|
207
|
+
end
|
208
|
+
|
121
209
|
if attributes.has_key?(:'small_movement_url')
|
122
210
|
self.small_movement_url = attributes[:'small_movement_url']
|
123
211
|
end
|
124
212
|
|
213
|
+
if attributes.has_key?(:'small_regular_thumbnail_url')
|
214
|
+
self.small_regular_thumbnail_url = attributes[:'small_regular_thumbnail_url']
|
215
|
+
end
|
216
|
+
|
125
217
|
if attributes.has_key?(:'small_regular_url')
|
126
218
|
self.small_regular_url = attributes[:'small_regular_url']
|
127
219
|
end
|
128
220
|
|
221
|
+
if attributes.has_key?(:'small_scroll_thumbnail_url')
|
222
|
+
self.small_scroll_thumbnail_url = attributes[:'small_scroll_thumbnail_url']
|
223
|
+
end
|
224
|
+
|
129
225
|
if attributes.has_key?(:'small_scroll_url')
|
130
226
|
self.small_scroll_url = attributes[:'small_scroll_url']
|
131
227
|
end
|
@@ -149,17 +245,29 @@ module UltracartClient
|
|
149
245
|
def ==(o)
|
150
246
|
return true if self.equal?(o)
|
151
247
|
self.class == o.class &&
|
248
|
+
large_click_thumbnail_url == o.large_click_thumbnail_url &&
|
152
249
|
large_click_url == o.large_click_url &&
|
250
|
+
large_movement_thumbnail_url == o.large_movement_thumbnail_url &&
|
153
251
|
large_movement_url == o.large_movement_url &&
|
252
|
+
large_regular_thumbnail_url == o.large_regular_thumbnail_url &&
|
154
253
|
large_regular_url == o.large_regular_url &&
|
254
|
+
large_scroll_thumbnail_url == o.large_scroll_thumbnail_url &&
|
155
255
|
large_scroll_url == o.large_scroll_url &&
|
256
|
+
medium_click_thumbnail_url == o.medium_click_thumbnail_url &&
|
156
257
|
medium_click_url == o.medium_click_url &&
|
258
|
+
medium_movement_thumbnail_url == o.medium_movement_thumbnail_url &&
|
157
259
|
medium_movement_url == o.medium_movement_url &&
|
260
|
+
medium_regular_thumbnail_url == o.medium_regular_thumbnail_url &&
|
158
261
|
medium_regular_url == o.medium_regular_url &&
|
262
|
+
medium_scroll_thumbnail_url == o.medium_scroll_thumbnail_url &&
|
159
263
|
medium_scroll_url == o.medium_scroll_url &&
|
264
|
+
small_click_thumbnail_url == o.small_click_thumbnail_url &&
|
160
265
|
small_click_url == o.small_click_url &&
|
266
|
+
small_movement_thumbnail_url == o.small_movement_thumbnail_url &&
|
161
267
|
small_movement_url == o.small_movement_url &&
|
268
|
+
small_regular_thumbnail_url == o.small_regular_thumbnail_url &&
|
162
269
|
small_regular_url == o.small_regular_url &&
|
270
|
+
small_scroll_thumbnail_url == o.small_scroll_thumbnail_url &&
|
163
271
|
small_scroll_url == o.small_scroll_url
|
164
272
|
end
|
165
273
|
|
@@ -172,7 +280,7 @@ module UltracartClient
|
|
172
280
|
# Calculates hash code according to all attributes.
|
173
281
|
# @return [Fixnum] Hash code
|
174
282
|
def hash
|
175
|
-
[large_click_url, large_movement_url, large_regular_url, large_scroll_url, medium_click_url, medium_movement_url, medium_regular_url, medium_scroll_url, small_click_url, small_movement_url, small_regular_url, small_scroll_url].hash
|
283
|
+
[large_click_thumbnail_url, large_click_url, large_movement_thumbnail_url, large_movement_url, large_regular_thumbnail_url, large_regular_url, large_scroll_thumbnail_url, large_scroll_url, medium_click_thumbnail_url, medium_click_url, medium_movement_thumbnail_url, medium_movement_url, medium_regular_thumbnail_url, medium_regular_url, medium_scroll_thumbnail_url, medium_scroll_url, small_click_thumbnail_url, small_click_url, small_movement_thumbnail_url, small_movement_url, small_regular_thumbnail_url, small_regular_url, small_scroll_thumbnail_url, small_scroll_url].hash
|
176
284
|
end
|
177
285
|
|
178
286
|
# Builds the object from hash
|