class Notebook::StorageAdapters::Base

Attributes

attachment[R]

Public Class Methods

new(attachment, _options = {}) click to toggle source
# File lib/notebook/storage_adapters/base.rb, line 4
def initialize(attachment, _options = {})
  @attachment = attachment
end

Public Instance Methods

delete() click to toggle source
# File lib/notebook/storage_adapters/base.rb, line 8
def delete
  fail(
    NotImplementedError,
    'Compliant Notebook storage adapters should define the `delete` method'
  )
end
get() click to toggle source
# File lib/notebook/storage_adapters/base.rb, line 15
def get
  fail(
    NotImplementedError,
    'Compliant Notebook storage adapters should define the `get` method'
  )
end
upload() click to toggle source
# File lib/notebook/storage_adapters/base.rb, line 22
def upload
  fail(
    NotImplementedError,
    'Compliant Notebook storage adapters should define the `upload` method'
  )
end