Sha256: a21c26b89539a9071c30263c505e57a1f4042762e97b979374821f9e4bf0312f

Contents?: true

Size: 1.89 KB

Versions: 3

Compression:

Stored size: 1.89 KB

Contents

# Requirements
# =======================================================================

# Stdlib
# -----------------------------------------------------------------------

# Deps
# -----------------------------------------------------------------------

# Project / Package
# -----------------------------------------------------------------------
require 'qb/github/resource'


# Refinements
# =======================================================================

require 'nrser/refinements'
using NRSER

require 'nrser/refinements/types'
using NRSER::Types


# Declarations
# =======================================================================


# Definitions
# =======================================================================


# @todo document QB::GitHub::Issue class.
class QB::GitHub::Issue < QB::GitHub::Resource
  
  # Constants
  # ======================================================================
  
  
  # Class Methods
  # ======================================================================
  
  
  # @todo Document find method.
  # 
  # @param [type] arg_name
  #   @todo Add name param description.
  # 
  # @return [return_type]
  #   @todo Document return value.
  # 
  def self.find_by repo_id:, number:
    new QB::GitHub::API.client.issue( repo_id.path, number )
  end # .find
  
  
  
  # Properties
  # ======================================================================
  
  prop :title, type: t.str, source: ->() { self[:title] }
  prop :title_filename, source: :title_filename
  
  # Constructor
  # ======================================================================
  
  # Instance Methods
  # ======================================================================
  
  def [] key
    @octokit_resource[key]
  end
  
  def title_filename
    
  end
  
end # class QB::GitHub::Issue



# Post-Processing
# =======================================================================

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qb-0.3.11 lib/qb/github/issue.rb
qb-0.3.10 lib/qb/github/issue.rb
qb-0.3.9 lib/qb/github/issue.rb