Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 475 Bytes

LinksFile.md

File metadata and controls

20 lines (14 loc) · 475 Bytes

NFTStorage::LinksFile

Properties

Name Type Description Notes
ipfs String [optional]
http String [optional]

Example

require 'nft_storage'

instance = NFTStorage::LinksFile.new(
  ipfs: ipfs://bafkreidivzimqfqtoqxkrpge6bjyhlvxqs3rhe73owtmdulaxr5do5in7u/image.jpg,
  http: http://bafkreidivzimqfqtoqxkrpge6bjyhlvxqs3rhe73owtmdulaxr5do5in7u.ipfs.dweb.link/image.jpg
)