Sha256: d1ce216b2a8a562e1df740849e7a5092e72441d9ed3a63becdf2a70b8369c4c9

Contents?: true

Size: 276 Bytes

Versions: 4

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

class Cryptoform::StorageBackends::Backend
  def initialize(state_name, **params)
    @state_name = state_name
    @params = params
  end

  def read
    raise NotImplementedError
  end

  def write(data)
    raise NotImplementedError
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cryptoform-0.5.1 lib/cryptoform/storage_backends/backend.rb
cryptoform-0.5.0 lib/cryptoform/storage_backends/backend.rb
cryptoform-0.4.0 lib/cryptoform/storage_backends/backend.rb
cryptoform-0.2.0 lib/cryptoform/storage_backends/backend.rb