class SharepointApi::VersionConverter
Constants
- VERSION_UNIT
Public Class Methods
to_major(ui_version)
click to toggle source
# File lib/sharepoint_api/version_converter.rb, line 4 def self.to_major(ui_version) ui_version.to_i / VERSION_UNIT end
to_ui(major_version)
click to toggle source
# File lib/sharepoint_api/version_converter.rb, line 8 def self.to_ui(major_version) major_version.to_i * VERSION_UNIT end