Class: Projects
- Inherits:
-
Object
- Object
- Projects
- Defined in:
- lib/freshbookstimestats.rb
Defined Under Namespace
Classes: Project
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.pick_project ⇒ Object
22 23 24 |
# File 'lib/freshbookstimestats.rb', line 22 def self.pick_project new.select_project end |
Instance Method Details
#select_project ⇒ Object
26 27 28 29 30 31 |
# File 'lib/freshbookstimestats.rb', line 26 def select_project puts project_table print "\nChoose a project number: " project = ask_project_select FreshBooks::Project.get project.id if project end |