class TelegramBot::GitHubWrapper::Issue

Attributes

body[RW]
id[RW]
number[RW]
state[RW]
title[RW]
url[RW]

Public Class Methods

new(id:, number:, title:, body:, state:, url:) click to toggle source
# File lib/telegram-bot/github_wrapper.rb, line 70
def initialize(id:, number:, title:, body:, state:, url:)
  self.id     = id
  self.number = number
  self.title  = title
  self.body   = body
  self.state  = state
  self.url    = url
end

Public Instance Methods

to_s() click to toggle source
# File lib/telegram-bot/github_wrapper.rb, line 79
def to_s
  "issue:  #{id}\n" +
  "number: #{number}\n" +
  "title:  #{title}\n" +
  "body:   #{body}\n" +
  "state:  #{state}\n" +
  "url:    #{url}\n"
end