Sha256: 3d871700de2a74ec16a7c8219a2848a67223a71c8db354c1a8ef0304dc294282
Contents?: true
Size: 532 Bytes
Versions: 2
Compression:
Stored size: 532 Bytes
Contents
require 'dry-types' require 'dry-struct' module Freefeed module Types class Bookmarklet < Dry::Struct attribute :title, Types::Body attribute :comment, Types::Strict::String.meta(omittable: true) attribute :image, Types::Strict::String.meta(omittable: true) attribute :images, Types::Strict::Array.of( Types::Strict::String ).meta(omittable: true) attribute :meta, Types::Hash.schema( feeds: Types::AccountName | Types::Feeds ).meta(omittable: true) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
freefeed-client-1.1.0 | lib/freefeed/types/bookmarklet.rb |
freefeed-client-0.1.0 | lib/freefeed/types/bookmarklet.rb |