Sha256: c79646582ac78c29dad918732d78d6a048000cb200ab2be1e0cf81b7453361df

Contents?: true

Size: 251 Bytes

Versions: 7

Compression:

Stored size: 251 Bytes

Contents

# typed: false
# frozen_string_literal: true

require 'duckface'

module CleanArchitecture
  module Interfaces
    module Jsonable
      extend Duckface::ActsAsInterface

      def to_json
        raise NotImplementedError
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
clean-architecture-5.0.2 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-5.0.1 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-4.0.1 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-4.0.0 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-3.0.2 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-3.0.1 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-3.0.0 lib/clean_architecture/interfaces/jsonable.rb