Class: Openlayer::Resources::Storage

Inherits:
Object
  • Object
show all
Defined in:
lib/openlayer/resources/storage.rb,
lib/openlayer/resources/storage/presigned_url.rb

Defined Under Namespace

Classes: PresignedURL

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Storage

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Storage.

Parameters:



12
13
14
15
# File 'lib/openlayer/resources/storage.rb', line 12

def initialize(client:)
  @client = client
  @presigned_url = Openlayer::Resources::Storage::PresignedURL.new(client: client)
end

Instance Attribute Details

#presigned_urlOpenlayer::Resources::Storage::PresignedURL (readonly)



7
8
9
# File 'lib/openlayer/resources/storage.rb', line 7

def presigned_url
  @presigned_url
end