groupdocs_editor_cloud 23.5 → 25.7

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.
Files changed (47) hide show
  1. checksums.yaml +5 -5
  2. data/lib/groupdocs_editor_cloud/api/edit_api.rb +3 -3
  3. data/lib/groupdocs_editor_cloud/api/file_api.rb +6 -6
  4. data/lib/groupdocs_editor_cloud/api/folder_api.rb +6 -6
  5. data/lib/groupdocs_editor_cloud/api/info_api.rb +2 -2
  6. data/lib/groupdocs_editor_cloud/api/license_api.rb +1 -1
  7. data/lib/groupdocs_editor_cloud/api/storage_api.rb +5 -5
  8. data/lib/groupdocs_editor_cloud/api_client.rb +4 -5
  9. data/lib/groupdocs_editor_cloud/{api_error.rb → api_client_error.rb} +5 -5
  10. data/lib/groupdocs_editor_cloud/configuration.rb +1 -1
  11. data/lib/groupdocs_editor_cloud/models/api_error.rb +244 -0
  12. data/lib/groupdocs_editor_cloud/models/api_error_response.rb +220 -0
  13. data/lib/groupdocs_editor_cloud/models/consumption_result.rb +20 -5
  14. data/lib/groupdocs_editor_cloud/models/delimited_text_load_options.rb +1 -1
  15. data/lib/groupdocs_editor_cloud/models/delimited_text_save_options.rb +1 -1
  16. data/lib/groupdocs_editor_cloud/models/disc_usage.rb +1 -1
  17. data/lib/groupdocs_editor_cloud/models/document_result.rb +1 -1
  18. data/lib/groupdocs_editor_cloud/models/error.rb +1 -1
  19. data/lib/groupdocs_editor_cloud/models/error_details.rb +1 -1
  20. data/lib/groupdocs_editor_cloud/models/file_info.rb +1 -1
  21. data/lib/groupdocs_editor_cloud/models/file_version.rb +1 -1
  22. data/lib/groupdocs_editor_cloud/models/file_versions.rb +1 -1
  23. data/lib/groupdocs_editor_cloud/models/files_list.rb +1 -1
  24. data/lib/groupdocs_editor_cloud/models/files_upload_result.rb +1 -1
  25. data/lib/groupdocs_editor_cloud/models/format.rb +1 -1
  26. data/lib/groupdocs_editor_cloud/models/formats_result.rb +1 -1
  27. data/lib/groupdocs_editor_cloud/models/info_result.rb +1 -1
  28. data/lib/groupdocs_editor_cloud/models/load_options.rb +1 -1
  29. data/lib/groupdocs_editor_cloud/models/load_result.rb +1 -1
  30. data/lib/groupdocs_editor_cloud/models/object_exist.rb +1 -1
  31. data/lib/groupdocs_editor_cloud/models/options.rb +1 -1
  32. data/lib/groupdocs_editor_cloud/models/pdf_save_options.rb +1 -1
  33. data/lib/groupdocs_editor_cloud/models/presentation_load_options.rb +1 -1
  34. data/lib/groupdocs_editor_cloud/models/presentation_save_options.rb +1 -1
  35. data/lib/groupdocs_editor_cloud/models/save_options.rb +1 -1
  36. data/lib/groupdocs_editor_cloud/models/spreadsheet_load_options.rb +1 -1
  37. data/lib/groupdocs_editor_cloud/models/spreadsheet_save_options.rb +1 -1
  38. data/lib/groupdocs_editor_cloud/models/storage_exist.rb +1 -1
  39. data/lib/groupdocs_editor_cloud/models/storage_file.rb +1 -1
  40. data/lib/groupdocs_editor_cloud/models/text_load_options.rb +1 -1
  41. data/lib/groupdocs_editor_cloud/models/text_save_options.rb +1 -1
  42. data/lib/groupdocs_editor_cloud/models/word_processing_load_options.rb +1 -1
  43. data/lib/groupdocs_editor_cloud/models/word_processing_save_options.rb +1 -1
  44. data/lib/groupdocs_editor_cloud/models/xml_load_options.rb +1 -1
  45. data/lib/groupdocs_editor_cloud/version.rb +2 -2
  46. data/lib/groupdocs_editor_cloud.rb +4 -2
  47. metadata +10 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c38011252177568954ba287373705ed9e2fed652
4
- data.tar.gz: 5cf9427d7eceab65ea7a2263e2d4b2e09f5266f6
2
+ SHA256:
3
+ metadata.gz: 87052c476aee18c6139aa2a77e9d57028e3b02496985fa7131ed56619fefc3f9
4
+ data.tar.gz: f7c71f4847a06432bfde3e3fb88ae37d38ea41fc772fd2da809331559a8c8826
5
5
  SHA512:
6
- metadata.gz: 78b737c0ad71190a920251ea48cd7f353510b292bc6a1df4c08c10a6741af3cb64d989c7cf90cd2342ccb7398ca8c6ec75d52165cd14b392f6c619f5a6a8fe4c
7
- data.tar.gz: fd6aa54047378f4a0c581c3d27bae76d80767914c5de4f4d812ff37324795b85897780e66b35b66600d3f7a753223dfea65e4272e09bde74ba3ffdca6106d7b0
6
+ metadata.gz: 64b39dad9d9915bb91cdcf15b4306f452399aad8115cf4d33eb4f61e8b39663dc01022c9fc144bfee05667872b21d344f1dec03997d7c89e5a68aca66f11d632
7
+ data.tar.gz: c0b6f37dbbffacd40836a0ff892a8c2fe36a74ab95ce08ae801a6d02f98f39e3a91b3099114c75ba886ce1828d055a560bf7c6f3d15913dc2448d55a66f702ac
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="edit.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -225,7 +225,7 @@ end
225
225
  #
226
226
  # --------------------------------------------------------------------------------------------------------------------
227
227
  # <copyright company="Aspose Pty Ltd" file="load_request.rb">
228
- # Copyright (c) 2003-2023 Aspose Pty Ltd
228
+ # Copyright (c) Aspose Pty Ltd
229
229
  # </copyright>
230
230
  # <summary>
231
231
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -270,7 +270,7 @@ end
270
270
  #
271
271
  # --------------------------------------------------------------------------------------------------------------------
272
272
  # <copyright company="Aspose Pty Ltd" file="save_request.rb">
273
- # Copyright (c) 2003-2023 Aspose Pty Ltd
273
+ # Copyright (c) Aspose Pty Ltd
274
274
  # </copyright>
275
275
  # <summary>
276
276
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="file.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -449,7 +449,7 @@ end
449
449
  #
450
450
  # --------------------------------------------------------------------------------------------------------------------
451
451
  # <copyright company="Aspose Pty Ltd" file="copy_file_request.rb">
452
- # Copyright (c) 2003-2023 Aspose Pty Ltd
452
+ # Copyright (c) Aspose Pty Ltd
453
453
  # </copyright>
454
454
  # <summary>
455
455
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -510,7 +510,7 @@ end
510
510
  #
511
511
  # --------------------------------------------------------------------------------------------------------------------
512
512
  # <copyright company="Aspose Pty Ltd" file="delete_file_request.rb">
513
- # Copyright (c) 2003-2023 Aspose Pty Ltd
513
+ # Copyright (c) Aspose Pty Ltd
514
514
  # </copyright>
515
515
  # <summary>
516
516
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -563,7 +563,7 @@ end
563
563
  #
564
564
  # --------------------------------------------------------------------------------------------------------------------
565
565
  # <copyright company="Aspose Pty Ltd" file="download_file_request.rb">
566
- # Copyright (c) 2003-2023 Aspose Pty Ltd
566
+ # Copyright (c) Aspose Pty Ltd
567
567
  # </copyright>
568
568
  # <summary>
569
569
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -616,7 +616,7 @@ end
616
616
  #
617
617
  # --------------------------------------------------------------------------------------------------------------------
618
618
  # <copyright company="Aspose Pty Ltd" file="move_file_request.rb">
619
- # Copyright (c) 2003-2023 Aspose Pty Ltd
619
+ # Copyright (c) Aspose Pty Ltd
620
620
  # </copyright>
621
621
  # <summary>
622
622
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -677,7 +677,7 @@ end
677
677
  #
678
678
  # --------------------------------------------------------------------------------------------------------------------
679
679
  # <copyright company="Aspose Pty Ltd" file="upload_file_request.rb">
680
- # Copyright (c) 2003-2023 Aspose Pty Ltd
680
+ # Copyright (c) Aspose Pty Ltd
681
681
  # </copyright>
682
682
  # <summary>
683
683
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="folder.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -430,7 +430,7 @@ end
430
430
  #
431
431
  # --------------------------------------------------------------------------------------------------------------------
432
432
  # <copyright company="Aspose Pty Ltd" file="copy_folder_request.rb">
433
- # Copyright (c) 2003-2023 Aspose Pty Ltd
433
+ # Copyright (c) Aspose Pty Ltd
434
434
  # </copyright>
435
435
  # <summary>
436
436
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -487,7 +487,7 @@ end
487
487
  #
488
488
  # --------------------------------------------------------------------------------------------------------------------
489
489
  # <copyright company="Aspose Pty Ltd" file="create_folder_request.rb">
490
- # Copyright (c) 2003-2023 Aspose Pty Ltd
490
+ # Copyright (c) Aspose Pty Ltd
491
491
  # </copyright>
492
492
  # <summary>
493
493
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -536,7 +536,7 @@ end
536
536
  #
537
537
  # --------------------------------------------------------------------------------------------------------------------
538
538
  # <copyright company="Aspose Pty Ltd" file="delete_folder_request.rb">
539
- # Copyright (c) 2003-2023 Aspose Pty Ltd
539
+ # Copyright (c) Aspose Pty Ltd
540
540
  # </copyright>
541
541
  # <summary>
542
542
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -589,7 +589,7 @@ end
589
589
  #
590
590
  # --------------------------------------------------------------------------------------------------------------------
591
591
  # <copyright company="Aspose Pty Ltd" file="get_files_list_request.rb">
592
- # Copyright (c) 2003-2023 Aspose Pty Ltd
592
+ # Copyright (c) Aspose Pty Ltd
593
593
  # </copyright>
594
594
  # <summary>
595
595
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -638,7 +638,7 @@ end
638
638
  #
639
639
  # --------------------------------------------------------------------------------------------------------------------
640
640
  # <copyright company="Aspose Pty Ltd" file="move_folder_request.rb">
641
- # Copyright (c) 2003-2023 Aspose Pty Ltd
641
+ # Copyright (c) Aspose Pty Ltd
642
642
  # </copyright>
643
643
  # <summary>
644
644
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="info.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -222,7 +222,7 @@ end
222
222
  #
223
223
  # --------------------------------------------------------------------------------------------------------------------
224
224
  # <copyright company="Aspose Pty Ltd" file="get_info_request.rb">
225
- # Copyright (c) 2003-2023 Aspose Pty Ltd
225
+ # Copyright (c) Aspose Pty Ltd
226
226
  # </copyright>
227
227
  # <summary>
228
228
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="license.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="storage.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -350,7 +350,7 @@ end
350
350
  #
351
351
  # --------------------------------------------------------------------------------------------------------------------
352
352
  # <copyright company="Aspose Pty Ltd" file="get_disc_usage_request.rb">
353
- # Copyright (c) 2003-2023 Aspose Pty Ltd
353
+ # Copyright (c) Aspose Pty Ltd
354
354
  # </copyright>
355
355
  # <summary>
356
356
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -395,7 +395,7 @@ end
395
395
  #
396
396
  # --------------------------------------------------------------------------------------------------------------------
397
397
  # <copyright company="Aspose Pty Ltd" file="get_file_versions_request.rb">
398
- # Copyright (c) 2003-2023 Aspose Pty Ltd
398
+ # Copyright (c) Aspose Pty Ltd
399
399
  # </copyright>
400
400
  # <summary>
401
401
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -444,7 +444,7 @@ end
444
444
  #
445
445
  # --------------------------------------------------------------------------------------------------------------------
446
446
  # <copyright company="Aspose Pty Ltd" file="object_exists_request.rb">
447
- # Copyright (c) 2003-2023 Aspose Pty Ltd
447
+ # Copyright (c) Aspose Pty Ltd
448
448
  # </copyright>
449
449
  # <summary>
450
450
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -497,7 +497,7 @@ end
497
497
  #
498
498
  # --------------------------------------------------------------------------------------------------------------------
499
499
  # <copyright company="Aspose Pty Ltd" file="storage_exists_request.rb">
500
- # Copyright (c) 2003-2023 Aspose Pty Ltd
500
+ # Copyright (c) Aspose Pty Ltd
501
501
  # </copyright>
502
502
  # <summary>
503
503
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="api_client.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -28,10 +28,9 @@ require 'json'
28
28
  require 'logger'
29
29
  require 'tempfile'
30
30
  require 'faraday'
31
- require 'mimemagic'
32
31
  require 'addressable'
33
32
  require_relative 'version'
34
- require_relative 'api_error'
33
+ require_relative 'api_client_error'
35
34
 
36
35
  module GroupDocsEditorCloud
37
36
  #
@@ -69,7 +68,7 @@ module GroupDocsEditorCloud
69
68
  end
70
69
 
71
70
  unless response.success?
72
- raise ApiError.new(:code => response.status, :response_body => response.body)
71
+ raise ApiClientError.new(:code => response.status, :response_body => response.body)
73
72
  end
74
73
 
75
74
  data = deserialize(response, opts[:return_type]) if opts[:return_type]
@@ -281,7 +280,7 @@ module GroupDocsEditorCloud
281
280
  form_params.each do |key, value|
282
281
  case value
283
282
  when ::File
284
- data[key] = Faraday::UploadIO.new(value.path, MimeMagic.by_magic(value).to_s, key)
283
+ data[key] = Faraday::UploadIO.new(value.path, "application/octet-stream", key)
285
284
  when ::Array, nil
286
285
  data[key] = value
287
286
  else
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="api_error.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,15 +25,15 @@
25
25
 
26
26
  module GroupDocsEditorCloud
27
27
  #
28
- # ApiError class for error handling
28
+ # ApiClientError class for error handling
29
29
  #
30
- class ApiError < StandardError
30
+ class ApiClientError < StandardError
31
31
  attr_reader :code
32
32
  attr_reader :message
33
33
 
34
34
  # Usage examples:
35
- # ApiError.new
36
- # ApiError.new(:code => 500, :response_body => "")
35
+ # ApiClientError.new
36
+ # ApiClientError.new(:code => 500, :response_body => "")
37
37
  def initialize(arg = nil)
38
38
  if arg.is_a? Hash
39
39
 
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="configuration.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -0,0 +1,244 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="api_error.rb">
4
+ # Copyright (c) Aspose Pty Ltd
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ require 'date'
29
+
30
+ module GroupDocsEditorCloud
31
+
32
+ class ApiError
33
+ attr_accessor :code
34
+ attr_accessor :message
35
+ attr_accessor :description
36
+ attr_accessor :date_time
37
+ attr_accessor :inner_error
38
+
39
+ # Attribute mapping from ruby-style variable name to JSON key.
40
+ def self.attribute_map
41
+ {
42
+ :'code' => :'Code',
43
+ :'message' => :'Message',
44
+ :'description' => :'Description',
45
+ :'date_time' => :'DateTime',
46
+ :'inner_error' => :'InnerError'
47
+ }
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.swagger_types
52
+ {
53
+ :'code' => :'String',
54
+ :'message' => :'String',
55
+ :'description' => :'String',
56
+ :'date_time' => :'DateTime',
57
+ :'inner_error' => :'ApiError'
58
+ }
59
+ end
60
+
61
+ # Initializes the object
62
+ # @param [Hash] attributes Model attributes in the form of hash
63
+ def initialize(attributes = {})
64
+ return unless attributes.is_a?(Hash)
65
+
66
+ # convert string to symbol for hash key
67
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
68
+
69
+ if attributes.key?(:'Code')
70
+ self.code = attributes[:'Code']
71
+ end
72
+
73
+ if attributes.key?(:'Message')
74
+ self.message = attributes[:'Message']
75
+ end
76
+
77
+ if attributes.key?(:'Description')
78
+ self.description = attributes[:'Description']
79
+ end
80
+
81
+ if attributes.key?(:'DateTime')
82
+ self.date_time = attributes[:'DateTime']
83
+ end
84
+
85
+ if attributes.key?(:'InnerError')
86
+ self.inner_error = attributes[:'InnerError']
87
+ end
88
+
89
+ end
90
+
91
+ # Show invalid properties with the reasons. Usually used together with valid?
92
+ # @return Array for valid properies with the reasons
93
+ def list_invalid_properties
94
+ invalid_properties = []
95
+ return invalid_properties
96
+ end
97
+
98
+ # Check to see if the all the properties in the model are valid
99
+ # @return true if the model is valid
100
+ def valid?
101
+ return true
102
+ end
103
+
104
+ # Checks equality by comparing each attribute.
105
+ # @param [Object] Object to be compared
106
+ def ==(other)
107
+ return true if self.equal?(other)
108
+ self.class == other.class &&
109
+ code == other.code &&
110
+ message == other.message &&
111
+ description == other.description &&
112
+ date_time == other.date_time &&
113
+ inner_error == other.inner_error
114
+ end
115
+
116
+ # @see the `==` method
117
+ # @param [Object] Object to be compared
118
+ def eql?(other)
119
+ self == other
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Fixnum] Hash code
124
+ def hash
125
+ [code, message, description, date_time, inner_error].hash
126
+ end
127
+
128
+ # Downcases first letter.
129
+ # @return downcased string
130
+ def uncap(str)
131
+ str[0, 1].downcase + str[1..-1]
132
+ end
133
+
134
+ # Builds the object from hash
135
+ # @param [Hash] attributes Model attributes in the form of hash
136
+ # @return [Object] Returns the model itself
137
+ def build_from_hash(attributes)
138
+ return nil unless attributes.is_a?(Hash)
139
+ self.class.swagger_types.each_pair do |key, type|
140
+ pname = uncap(self.class.attribute_map[key]).intern
141
+ value = attributes[pname]
142
+ if type =~ /\AArray<(.*)>/i
143
+ # check to ensure the input is an array given that the the attribute
144
+ # is documented as an array but the input is not
145
+ if value.is_a?(Array)
146
+ self.send("#{key}=", value.map { |v| _deserialize($1, v) })
147
+ end
148
+ elsif !value.nil?
149
+ self.send("#{key}=", _deserialize(type, value))
150
+ end
151
+ # or else data not found in attributes(hash), not an issue as the data can be optional
152
+ end
153
+
154
+ self
155
+ end
156
+
157
+ # Deserializes the data based on type
158
+ # @param string type Data type
159
+ # @param string value Value to be deserialized
160
+ # @return [Object] Deserialized data
161
+ def _deserialize(type, value)
162
+ case type.to_sym
163
+ when :DateTime
164
+ Date.parse value
165
+ when :Date
166
+ Date.parse value
167
+ when :String
168
+ value.to_s
169
+ when :Integer
170
+ value.to_i
171
+ when :Float
172
+ value.to_f
173
+ when :BOOLEAN
174
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
175
+ true
176
+ else
177
+ false
178
+ end
179
+ when :Object
180
+ # generic object (usually a Hash), return directly
181
+ value
182
+ when /\AArray<(?<inner_type>.+)>\z/
183
+ inner_type = Regexp.last_match[:inner_type]
184
+ value.map { |v| _deserialize(inner_type, v) }
185
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
186
+ k_type = Regexp.last_match[:k_type]
187
+ v_type = Regexp.last_match[:v_type]
188
+ {}.tap do |hash|
189
+ value.each do |k, v|
190
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
191
+ end
192
+ end
193
+ else
194
+ # model
195
+ temp_model = GroupDocsEditorCloud.const_get(type).new
196
+ temp_model.build_from_hash(value)
197
+ end
198
+ end
199
+
200
+ # Returns the string representation of the object
201
+ # @return [String] String presentation of the object
202
+ def to_s
203
+ to_hash.to_s
204
+ end
205
+
206
+ # to_body is an alias to to_hash (backward compatibility)
207
+ # @return [Hash] Returns the object in the form of hash
208
+ def to_body
209
+ to_hash
210
+ end
211
+
212
+ # Returns the object in the form of hash
213
+ # @return [Hash] Returns the object in the form of hash
214
+ def to_hash
215
+ hash = {}
216
+ self.class.attribute_map.each_pair do |attr, param|
217
+ value = self.send(attr)
218
+ next if value.nil?
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ # Outputs non-array value in the form of hash
225
+ # For object, use to_hash. Otherwise, just return the value
226
+ # @param [Object] value Any valid value
227
+ # @return [Hash] Returns the value in the form of hash
228
+ def _to_hash(value)
229
+ if value.is_a?(Array)
230
+ value.compact.map { |v| _to_hash(v) }
231
+ elsif value.is_a?(Hash)
232
+ {}.tap do |hash|
233
+ value.each { |k, v| hash[k] = _to_hash(v) }
234
+ end
235
+ elsif value.respond_to? :to_hash
236
+ value.to_hash
237
+ else
238
+ value
239
+ end
240
+ end
241
+
242
+ end
243
+
244
+ end
@@ -0,0 +1,220 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="api_error_response.rb">
4
+ # Copyright (c) Aspose Pty Ltd
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ require 'date'
29
+
30
+ module GroupDocsEditorCloud
31
+
32
+ class ApiErrorResponse
33
+ attr_accessor :request_id
34
+ attr_accessor :error
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'request_id' => :'RequestId',
40
+ :'error' => :'Error'
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.swagger_types
46
+ {
47
+ :'request_id' => :'String',
48
+ :'error' => :'ApiError'
49
+ }
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ return unless attributes.is_a?(Hash)
56
+
57
+ # convert string to symbol for hash key
58
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
59
+
60
+ if attributes.key?(:'RequestId')
61
+ self.request_id = attributes[:'RequestId']
62
+ end
63
+
64
+ if attributes.key?(:'Error')
65
+ self.error = attributes[:'Error']
66
+ end
67
+
68
+ end
69
+
70
+ # Show invalid properties with the reasons. Usually used together with valid?
71
+ # @return Array for valid properies with the reasons
72
+ def list_invalid_properties
73
+ invalid_properties = []
74
+ return invalid_properties
75
+ end
76
+
77
+ # Check to see if the all the properties in the model are valid
78
+ # @return true if the model is valid
79
+ def valid?
80
+ return true
81
+ end
82
+
83
+ # Checks equality by comparing each attribute.
84
+ # @param [Object] Object to be compared
85
+ def ==(other)
86
+ return true if self.equal?(other)
87
+ self.class == other.class &&
88
+ request_id == other.request_id &&
89
+ error == other.error
90
+ end
91
+
92
+ # @see the `==` method
93
+ # @param [Object] Object to be compared
94
+ def eql?(other)
95
+ self == other
96
+ end
97
+
98
+ # Calculates hash code according to all attributes.
99
+ # @return [Fixnum] Hash code
100
+ def hash
101
+ [request_id, error].hash
102
+ end
103
+
104
+ # Downcases first letter.
105
+ # @return downcased string
106
+ def uncap(str)
107
+ str[0, 1].downcase + str[1..-1]
108
+ end
109
+
110
+ # Builds the object from hash
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ # @return [Object] Returns the model itself
113
+ def build_from_hash(attributes)
114
+ return nil unless attributes.is_a?(Hash)
115
+ self.class.swagger_types.each_pair do |key, type|
116
+ pname = uncap(self.class.attribute_map[key]).intern
117
+ value = attributes[pname]
118
+ if type =~ /\AArray<(.*)>/i
119
+ # check to ensure the input is an array given that the the attribute
120
+ # is documented as an array but the input is not
121
+ if value.is_a?(Array)
122
+ self.send("#{key}=", value.map { |v| _deserialize($1, v) })
123
+ end
124
+ elsif !value.nil?
125
+ self.send("#{key}=", _deserialize(type, value))
126
+ end
127
+ # or else data not found in attributes(hash), not an issue as the data can be optional
128
+ end
129
+
130
+ self
131
+ end
132
+
133
+ # Deserializes the data based on type
134
+ # @param string type Data type
135
+ # @param string value Value to be deserialized
136
+ # @return [Object] Deserialized data
137
+ def _deserialize(type, value)
138
+ case type.to_sym
139
+ when :DateTime
140
+ Date.parse value
141
+ when :Date
142
+ Date.parse value
143
+ when :String
144
+ value.to_s
145
+ when :Integer
146
+ value.to_i
147
+ when :Float
148
+ value.to_f
149
+ when :BOOLEAN
150
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
151
+ true
152
+ else
153
+ false
154
+ end
155
+ when :Object
156
+ # generic object (usually a Hash), return directly
157
+ value
158
+ when /\AArray<(?<inner_type>.+)>\z/
159
+ inner_type = Regexp.last_match[:inner_type]
160
+ value.map { |v| _deserialize(inner_type, v) }
161
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
162
+ k_type = Regexp.last_match[:k_type]
163
+ v_type = Regexp.last_match[:v_type]
164
+ {}.tap do |hash|
165
+ value.each do |k, v|
166
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
167
+ end
168
+ end
169
+ else
170
+ # model
171
+ temp_model = GroupDocsEditorCloud.const_get(type).new
172
+ temp_model.build_from_hash(value)
173
+ end
174
+ end
175
+
176
+ # Returns the string representation of the object
177
+ # @return [String] String presentation of the object
178
+ def to_s
179
+ to_hash.to_s
180
+ end
181
+
182
+ # to_body is an alias to to_hash (backward compatibility)
183
+ # @return [Hash] Returns the object in the form of hash
184
+ def to_body
185
+ to_hash
186
+ end
187
+
188
+ # Returns the object in the form of hash
189
+ # @return [Hash] Returns the object in the form of hash
190
+ def to_hash
191
+ hash = {}
192
+ self.class.attribute_map.each_pair do |attr, param|
193
+ value = self.send(attr)
194
+ next if value.nil?
195
+ hash[param] = _to_hash(value)
196
+ end
197
+ hash
198
+ end
199
+
200
+ # Outputs non-array value in the form of hash
201
+ # For object, use to_hash. Otherwise, just return the value
202
+ # @param [Object] value Any valid value
203
+ # @return [Hash] Returns the value in the form of hash
204
+ def _to_hash(value)
205
+ if value.is_a?(Array)
206
+ value.compact.map { |v| _to_hash(v) }
207
+ elsif value.is_a?(Hash)
208
+ {}.tap do |hash|
209
+ value.each { |k, v| hash[k] = _to_hash(v) }
210
+ end
211
+ elsif value.respond_to? :to_hash
212
+ value.to_hash
213
+ else
214
+ value
215
+ end
216
+ end
217
+
218
+ end
219
+
220
+ end
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="consumption_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -37,11 +37,15 @@ module GroupDocsEditorCloud
37
37
  # Amount of MBs processed
38
38
  attr_accessor :quantity
39
39
 
40
+ # Billed API calls number
41
+ attr_accessor :billed_api_calls
42
+
40
43
  # Attribute mapping from ruby-style variable name to JSON key.
41
44
  def self.attribute_map
42
45
  {
43
46
  :'credit' => :'Credit',
44
- :'quantity' => :'Quantity'
47
+ :'quantity' => :'Quantity',
48
+ :'billed_api_calls' => :'BilledApiCalls'
45
49
  }
46
50
  end
47
51
 
@@ -49,7 +53,8 @@ module GroupDocsEditorCloud
49
53
  def self.swagger_types
50
54
  {
51
55
  :'credit' => :'Float',
52
- :'quantity' => :'Float'
56
+ :'quantity' => :'Float',
57
+ :'billed_api_calls' => :'Float'
53
58
  }
54
59
  end
55
60
 
@@ -69,6 +74,10 @@ module GroupDocsEditorCloud
69
74
  self.quantity = attributes[:'Quantity']
70
75
  end
71
76
 
77
+ if attributes.key?(:'BilledApiCalls')
78
+ self.billed_api_calls = attributes[:'BilledApiCalls']
79
+ end
80
+
72
81
  end
73
82
 
74
83
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -83,6 +92,10 @@ module GroupDocsEditorCloud
83
92
  invalid_properties.push("invalid value for 'quantity', quantity cannot be nil.")
84
93
  end
85
94
 
95
+ if @billed_api_calls.nil?
96
+ invalid_properties.push("invalid value for 'billed_api_calls', billed_api_calls cannot be nil.")
97
+ end
98
+
86
99
  return invalid_properties
87
100
  end
88
101
 
@@ -91,6 +104,7 @@ module GroupDocsEditorCloud
91
104
  def valid?
92
105
  return false if @credit.nil?
93
106
  return false if @quantity.nil?
107
+ return false if @billed_api_calls.nil?
94
108
  return true
95
109
  end
96
110
 
@@ -100,7 +114,8 @@ module GroupDocsEditorCloud
100
114
  return true if self.equal?(other)
101
115
  self.class == other.class &&
102
116
  credit == other.credit &&
103
- quantity == other.quantity
117
+ quantity == other.quantity &&
118
+ billed_api_calls == other.billed_api_calls
104
119
  end
105
120
 
106
121
  # @see the `==` method
@@ -112,7 +127,7 @@ module GroupDocsEditorCloud
112
127
  # Calculates hash code according to all attributes.
113
128
  # @return [Fixnum] Hash code
114
129
  def hash
115
- [credit, quantity].hash
130
+ [credit, quantity, billed_api_calls].hash
116
131
  end
117
132
 
118
133
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="delimited_text_load_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="delimited_text_save_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="disc_usage.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="document_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="error.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="error_details.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_info.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_version.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_versions.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="files_list.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="files_upload_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="format.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="formats_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="info_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="load_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="load_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="object_exist.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="pdf_save_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="presentation_load_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="presentation_save_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="save_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="spreadsheet_load_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="spreadsheet_save_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="storage_exist.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="storage_file.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="text_load_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="text_save_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="word_processing_load_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="word_processing_save_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="xml_load_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="version.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsEditorCloud
28
- VERSION = "23.5".freeze
28
+ VERSION = "25.7".freeze
29
29
  end
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="groupdocs_editor_cloud.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,11 +25,13 @@
25
25
 
26
26
  # Common files
27
27
  require_relative 'groupdocs_editor_cloud/api_client'
28
- require_relative 'groupdocs_editor_cloud/api_error'
28
+ require_relative 'groupdocs_editor_cloud/api_client_error'
29
29
  require_relative 'groupdocs_editor_cloud/version'
30
30
  require_relative 'groupdocs_editor_cloud/configuration'
31
31
 
32
32
  # Models
33
+ require_relative 'groupdocs_editor_cloud/models/api_error'
34
+ require_relative 'groupdocs_editor_cloud/models/api_error_response'
33
35
  require_relative 'groupdocs_editor_cloud/models/consumption_result'
34
36
  require_relative 'groupdocs_editor_cloud/models/disc_usage'
35
37
  require_relative 'groupdocs_editor_cloud/models/document_result'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_editor_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '23.5'
4
+ version: '25.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-23 00:00:00.000000000 Z
11
+ date: 2025-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -78,8 +78,10 @@ files:
78
78
  - lib/groupdocs_editor_cloud/api/license_api.rb
79
79
  - lib/groupdocs_editor_cloud/api/storage_api.rb
80
80
  - lib/groupdocs_editor_cloud/api_client.rb
81
- - lib/groupdocs_editor_cloud/api_error.rb
81
+ - lib/groupdocs_editor_cloud/api_client_error.rb
82
82
  - lib/groupdocs_editor_cloud/configuration.rb
83
+ - lib/groupdocs_editor_cloud/models/api_error.rb
84
+ - lib/groupdocs_editor_cloud/models/api_error_response.rb
83
85
  - lib/groupdocs_editor_cloud/models/consumption_result.rb
84
86
  - lib/groupdocs_editor_cloud/models/delimited_text_load_options.rb
85
87
  - lib/groupdocs_editor_cloud/models/delimited_text_save_options.rb
@@ -118,7 +120,7 @@ licenses:
118
120
  - MIT
119
121
  metadata:
120
122
  source_code_uri: https://github.com/groupdocs-editor-cloud/groupdocs-editor-cloud-ruby
121
- post_install_message:
123
+ post_install_message:
122
124
  rdoc_options: []
123
125
  require_paths:
124
126
  - lib
@@ -126,16 +128,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
128
  requirements:
127
129
  - - "~>"
128
130
  - !ruby/object:Gem::Version
129
- version: '2.4'
131
+ version: '2.3'
130
132
  required_rubygems_version: !ruby/object:Gem::Requirement
131
133
  requirements:
132
134
  - - ">="
133
135
  - !ruby/object:Gem::Version
134
136
  version: '0'
135
137
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.6.14.1
138
- signing_key:
138
+ rubygems_version: 3.1.6
139
+ signing_key:
139
140
  specification_version: 4
140
141
  summary: GroupDocs.Editor Cloud Ruby SDK
141
142
  test_files: []