Class: Ribose::FileVersion

Inherits:
Base
  • Object
show all
Includes:
Actions::Fetch
Defined in:
lib/ribose/file_version.rb

Class Method Summary collapse

Methods included from Actions::Fetch

#fetch

Methods included from Actions::Base

#included

Methods inherited from Base

#initialize

Methods included from ResourceHelper

#resource_id, #resource_key, #resources, #resources_path

Constructor Details

This class inherits a constructor from Ribose::Base

Class Method Details

.fetch(space_id:, file_id:, version_id:, **options) ⇒ Object

Fetch file version



12
13
14
15
16
17
18
19
# File 'lib/ribose/file_version.rb', line 12

def self.fetch(space_id:, file_id:, version_id:, **options)
  new(
    file_id: file_id,
    space_id: space_id,
    resource_id: version_id,
    **options,
  ).fetch
end