Skip to content

Commit 9e24bc2

Browse files
Updated With Release 19.5
1 parent aba920f commit 9e24bc2

27 files changed

Lines changed: 33 additions & 28 deletions

Examples/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ gemspec
55
group :development, :test do
66
gem 'rake', '~> 12.0.0'
77
end
8-
gem "groupdocs_viewer_cloud", "~> 19.4"
8+
gem "groupdocs_viewer_cloud", "~> 19.5"

Examples/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ PLATFORMS
2626
x64-mingw32
2727

2828
DEPENDENCIES
29-
groupdocs_viewer_cloud (~> 19.4, >= 19.4)
29+
groupdocs_viewer_cloud (~> 19.5, >= 19.5)
3030
groupdocs_viewer_cloud!
3131
minitest (~> 5.11, >= 5.11.3)
3232
rake (~> 12.0.0)

Examples/src/Common_Utilities/Utils.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@
99
$myStorage = "MyStorage"
1010

1111
class Common_Utilities
12-
def self.Get_ViewerApi_Instance()
12+
def self.Get_ViewApi_Instance()
1313
# Create instance of the API
14-
return GroupDocsViewerCloud::ViewerApi.from_keys($app_sid, $app_key)
14+
return GroupDocsViewerCloud::ViewApi.from_keys($app_sid, $app_key)
15+
end
16+
17+
def self.Get_InfoApi_Instance()
18+
# Create instance of the API
19+
return GroupDocsViewerCloud::InfoApi.from_keys($app_sid, $app_key)
1520
end
1621

1722
def self.Get_StorageApi_Instance()

Examples/src/Supported_File_Formats/Viewer_Ruby_Get_All_Supported_Formats.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class File_Formats
66
def self.Get_All_Supported_File_Formats()
77

88
# Getting instance of the API
9-
api = Common_Utilities.Get_ViewerApi_Instance()
9+
api = Common_Utilities.Get_InfoApi_Instance()
1010

1111
# Retrieve supported file-formats
1212
response = api.get_supported_file_formats()

Examples/src/Working_With_Document_Information/Viewer_Ruby_Get_Info_With_CAD_Options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Working_With_Document_Information
66
def self.Viewer_Ruby_Get_Info_With_CAD_Options()
77

88
# Getting instance of the API
9-
$api = Common_Utilities.Get_ViewerApi_Instance()
9+
$api = Common_Utilities.Get_InfoApi_Instance()
1010

1111
$viewOptions = GroupDocsViewerCloud::ViewOptions.new()
1212

Examples/src/Working_With_Document_Information/Viewer_Ruby_Get_Info_With_HTML_View_Format.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Working_With_Document_Information
66
def self.Viewer_Ruby_Get_Info_With_HTML_View_Format()
77

88
# Getting instance of the API
9-
$api = Common_Utilities.Get_ViewerApi_Instance()
9+
$api = Common_Utilities.Get_InfoApi_Instance()
1010

1111
$viewOptions = GroupDocsViewerCloud::ViewOptions.new()
1212

Examples/src/Working_With_Document_Information/Viewer_Ruby_Get_Info_With_Image_View_Format.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Working_With_Document_Information
66
def self.Viewer_Ruby_Get_Info_With_Image_View_Format(*format)
77

88
# Getting instance of the API
9-
$api = Common_Utilities.Get_ViewerApi_Instance()
9+
$api = Common_Utilities.Get_InfoApi_Instance()
1010

1111
$viewOptions = GroupDocsViewerCloud::ViewOptions.new()
1212

Examples/src/Working_With_Document_Information/Viewer_Ruby_Get_Info_With_Image_View_Options_Options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Working_With_Document_Information
66
def self.Viewer_Ruby_Get_Info_With_Image_View_Options_Options()
77

88
# Getting instance of the API
9-
$api = Common_Utilities.Get_ViewerApi_Instance()
9+
$api = Common_Utilities.Get_InfoApi_Instance()
1010

1111
$viewOptions = GroupDocsViewerCloud::ViewOptions.new()
1212

Examples/src/Working_With_Document_Information/Viewer_Ruby_Get_Info_With_Minimal_ViewOptions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Working_With_Document_Information
66
def self.Viewer_Ruby_Get_Info_With_Minimal_ViewOptions()
77

88
# Getting instance of the API
9-
$api = Common_Utilities.Get_ViewerApi_Instance()
9+
$api = Common_Utilities.Get_InfoApi_Instance()
1010

1111
$viewOptions = GroupDocsViewerCloud::ViewOptions.new()
1212

Examples/src/Working_With_Document_Information/Viewer_Ruby_Get_Info_With_Project_Options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Working_With_Document_Information
66
def self.Viewer_Ruby_Get_Info_With_Project_Options()
77

88
# Getting instance of the API
9-
$api = Common_Utilities.Get_ViewerApi_Instance()
9+
$api = Common_Utilities.Get_InfoApi_Instance()
1010

1111
$viewOptions = GroupDocsViewerCloud::ViewOptions.new()
1212

0 commit comments

Comments
 (0)