lib/pivotal-integration/command/base.rb
def story
    if @options[:story_id]
      @configuration.project.stories.find(@options[:story_id])
    else
      @configuration.story
    end
  end
# Common initialization functionality for all command classes.  This
# enforces that:
# * the command is being run within a valid Git repository
# * the user has specified their Pivotal Tracker API token
# * all communication with Pivotal Tracker will be protected with SSL
# * the user has configured the project id for this repository
Common initialization functionality for all command classes.  This
enforces that:
the command is being run within a valid Git repository
the user has specified their Pivotal Tracker API token
all communication with Pivotal Tracker will be protected with SSL
the user has configured the project id for this repository
Common initialization functionality for all command classes . This enforces that : the command is being run within a valid Git repository the user has specified their Pivotal Tracker API token all communication with Pivotal Tracker will be protected with SSL the user has configured the project id for this repository
def story
    if @options[:story_id]
      @configuration.project.stories.find(@options[:story_id])
    else
      @configuration.story
    end
  end
def story if @options [ :story_id ] @configuration . project . stories . find ( @options [ :story_id ] ) else @configuration . story end end
Common initialization functionality for all command classes.
Common initialization functionality for all command classes .