module ArchivedRemoteObject
Constants
- VERSION
Public Class Methods
configuration()
click to toggle source
# File lib/archived_remote_object/configuration.rb, line 5 def configuration @configuration ||= OpenStruct.new end
configure() { |configuration| ... }
click to toggle source
# File lib/archived_remote_object/configuration.rb, line 9 def configure yield(configuration) end
get_object(key)
click to toggle source
# File lib/archived_remote_object.rb, line 10 def self.get_object(key) # rubocop:disable Metrics/MethodLength Archive::RestoredObject.new( key: key, archived_object: Archive::ArchivedObject.new( key: key, remote_object: AwsS3::ArchivedObject.new( key: key, remote_object: AwsS3::RemoteObject.new( key: key, remote_client: AwsS3::Client.new ) ) ) ).call end