module GetToWork
  class Command
    class LastStory < GetToWork::Command
      def run
        pt_data = config_file.data["pivotal_tracker"]
        last_story_id = pt_data && pt_data["project_id"]
        shell.say(last_story_id)
      end
    end
  end
end

module GetToWork
  class Command
    class LastStory < GetToWork::Command
      def run
        last_story_hash = config_file.data["last_story"]
        last_story_id = last_story_hash && last_story_hash["id"]

        shell.say(last_story_id)
      end
    end
  end
end

Fix last story to actually return the last story
Fix last story to actually return the last story
