Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 1.21 KB

File metadata and controls

46 lines (40 loc) · 1.21 KB

Unifapi::HackerNewsItem

Properties

Name Type Description Notes
id Integer
deleted Boolean [optional]
type HackerNewsItemType [optional]
by String [optional]
time Integer Unix epoch seconds [optional]
text String HTML text for comments, stories, polls, and jobs. [optional]
dead Boolean [optional]
parent Integer [optional]
poll Integer [optional]
kids Array<Integer> [optional]
url String [optional]
score Integer [optional]
title String HTML title for stories, polls, and jobs. [optional]
parts Array<Integer> [optional]
descendants Integer [optional]

Example

require 'unifapi'

instance = Unifapi::HackerNewsItem.new(
  id: null,
  deleted: null,
  type: null,
  by: null,
  time: null,
  text: null,
  dead: null,
  parent: null,
  poll: null,
  kids: null,
  url: null,
  score: null,
  title: null,
  parts: null,
  descendants: null
)