Skip to content

Commit ccfbcda

Browse files
committed
Updated sources
1 parent 9c49132 commit ccfbcda

File tree

4 files changed

+7
-22
lines changed

4 files changed

+7
-22
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
groupdocs_viewer_cloud (24.8)
4+
groupdocs_viewer_cloud (24.12)
55
addressable (~> 2.8.0, >= 2.8.0)
66
faraday (~> 0.14.0)
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ gem install groupdocs_viewer_cloud
1212
To add dependency to your app copy following into your Gemfile and run `bundle install`:
1313

1414
```
15-
gem "groupdocs_viewer_cloud", "~> 24.8"
15+
gem "groupdocs_viewer_cloud", "~> 24.12"
1616
```
1717

1818
## Getting Started

lib/groupdocs_viewer_cloud/models/archive_options.rb

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,19 @@ class ArchiveOptions
3737
# The filename to display in the header. By default the name of the source file is displayed.
3838
attr_accessor :file_name
3939

40-
# Number of records per page (for rendering to HTML only)
41-
attr_accessor :items_per_page
42-
4340
# Attribute mapping from ruby-style variable name to JSON key.
4441
def self.attribute_map
4542
{
4643
:'folder' => :'Folder',
47-
:'file_name' => :'FileName',
48-
:'items_per_page' => :'ItemsPerPage'
44+
:'file_name' => :'FileName'
4945
}
5046
end
5147

5248
# Attribute type mapping.
5349
def self.swagger_types
5450
{
5551
:'folder' => :'String',
56-
:'file_name' => :'String',
57-
:'items_per_page' => :'Integer'
52+
:'file_name' => :'String'
5853
}
5954
end
6055

@@ -74,27 +69,18 @@ def initialize(attributes = {})
7469
self.file_name = attributes[:'FileName']
7570
end
7671

77-
if attributes.key?(:'ItemsPerPage')
78-
self.items_per_page = attributes[:'ItemsPerPage']
79-
end
80-
8172
end
8273

8374
# Show invalid properties with the reasons. Usually used together with valid?
8475
# @return Array for valid properies with the reasons
8576
def list_invalid_properties
8677
invalid_properties = []
87-
if @items_per_page.nil?
88-
invalid_properties.push("invalid value for 'items_per_page', items_per_page cannot be nil.")
89-
end
90-
9178
return invalid_properties
9279
end
9380

9481
# Check to see if the all the properties in the model are valid
9582
# @return true if the model is valid
9683
def valid?
97-
return false if @items_per_page.nil?
9884
return true
9985
end
10086

@@ -104,8 +90,7 @@ def ==(other)
10490
return true if self.equal?(other)
10591
self.class == other.class &&
10692
folder == other.folder &&
107-
file_name == other.file_name &&
108-
items_per_page == other.items_per_page
93+
file_name == other.file_name
10994
end
11095

11196
# @see the `==` method
@@ -117,7 +102,7 @@ def eql?(other)
117102
# Calculates hash code according to all attributes.
118103
# @return [Fixnum] Hash code
119104
def hash
120-
[folder, file_name, items_per_page].hash
105+
[folder, file_name].hash
121106
end
122107

123108
# Downcases first letter.

lib/groupdocs_viewer_cloud/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
# --------------------------------------------------------------------------------------------------------------------
2626
#
2727
module GroupDocsViewerCloud
28-
VERSION = "24.8".freeze
28+
VERSION = "24.12".freeze
2929
end

0 commit comments

Comments
 (0)