Sha256: 258ce7344b13648a857ec49bba826e2bf6df13259e372eb4f8ae25db453a8361

Contents?: true

Size: 187 Bytes

Versions: 2

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

module Sumsub
  include Types

  module Struct
    class BaseStruct < Dry::Struct

      def to_json
        attributes.to_json
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sumsub-ruby-sdk-0.2.1 lib/sumsub/struct/base_struct.rb
sumsub-ruby-sdk-0.2.0 lib/sumsub/struct/base_struct.rb