lib/yoti/dynamic_share_service/extension/extension.rb in yoti-1.9.0 vs lib/yoti/dynamic_share_service/extension/extension.rb in yoti-1.10.0
- old
+ new
@@ -1,10 +1,13 @@
# frozen_string_literal: true
module Yoti
module DynamicSharingService
class Extension
+ # @return [String]
attr_reader :type
+
+ # @return [#to_json]
attr_reader :content
def to_json(*_args)
as_json.to_json
end