class Bug
Private Instance Methods
create_issue_on_pivotal_data()
click to toggle source
# File lib/caperoma/models/tasks/bug.rb, line 9 def create_issue_on_pivotal_data Jbuilder.encode do |j| j.current_state 'unstarted' j.name title.to_s j.story_type story_type end end
inform_creation_finished()
click to toggle source
# File lib/caperoma/models/tasks/bug.rb, line 33 def inform_creation_finished puts 'A new bug started' end
inform_creation_started()
click to toggle source
# File lib/caperoma/models/tasks/bug.rb, line 29 def inform_creation_started puts 'Starting a new bug' end
issue_type()
click to toggle source
# File lib/caperoma/models/tasks/bug.rb, line 25 def issue_type project.bug_jira_task_id end
story_type()
click to toggle source
# File lib/caperoma/models/tasks/bug.rb, line 21 def story_type 'bug' end
this_is_a_type_a_user_wants_to_create?()
click to toggle source
# File lib/caperoma/models/tasks/bug.rb, line 17 def this_is_a_type_a_user_wants_to_create? project.create_bugs_in_pivotal end