Class: SwarmSDK::Tools::Stores::Storage::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/swarm_sdk/tools/stores/storage.rb

Overview

Represents a single storage entry with metadata

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



18
19
20
# File 'lib/swarm_sdk/tools/stores/storage.rb', line 18

def content
  @content
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



18
19
20
# File 'lib/swarm_sdk/tools/stores/storage.rb', line 18

def size
  @size
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



18
19
20
# File 'lib/swarm_sdk/tools/stores/storage.rb', line 18

def title
  @title
end

#updated_atObject

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



18
19
20
# File 'lib/swarm_sdk/tools/stores/storage.rb', line 18

def updated_at
  @updated_at
end