Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 815 Bytes

Pin.md

File metadata and controls

26 lines (20 loc) · 815 Bytes

NFTStorage::Pin

Properties

Name Type Description Notes
cid String Self-describing content-addressed identifiers for distributed systems. Check spec for more info. [optional]
name String [optional]
status PinStatus [optional]
created Time This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. [optional]
size Float [optional]

Example

require 'nft_storage'

instance = NFTStorage::Pin.new(
  cid: bafkreidivzimqfqtoqxkrpge6bjyhlvxqs3rhe73owtmdulaxr5do5in7u,
  name: pin name,
  status: null,
  created: 2021-03-12T17:03:07.787Z,
  size: 132614
)