Sha256: 9860ee74a6a5c72178bf3bf47cb90dce832b01381e9de6d683fadb6822379393

Contents?: true

Size: 236 Bytes

Versions: 12

Compression:

Stored size: 236 Bytes

Contents

# 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

12 entries across 12 versions & 1 rubygems

Version Path
clean-architecture-2.0.0 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-1.2.0 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-1.1.1 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-1.1.0 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-1.0.1 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-1.0.0 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-0.2.0 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-0.1.0 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-0.0.5 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-0.0.4 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-0.0.3 lib/clean_architecture/interfaces/jsonable.rb
clean-architecture-0.0.1 lib/clean_architecture/interfaces/jsonable.rb