Class: Whatsnew::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/whatsnew/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path_or_repo, access_token = nil) ⇒ Project

Returns a new instance of Project.



5
6
7
8
# File 'lib/whatsnew/project.rb', line 5

def initialize(path_or_repo, access_token = nil)
  @path_or_repo = path_or_repo
  @access_token = access_token
end

Instance Attribute Details

#news_fileObject (readonly)

Returns the value of attribute news_file.



3
4
5
# File 'lib/whatsnew/project.rb', line 3

def news_file
  @news_file
end